Commit 05acbf95 authored by zauberstuhl's avatar zauberstuhl
Browse files

Update development instructions

parent aca0d1f5
......@@ -49,20 +49,13 @@ endif
go get golang.org/x/crypto/bcrypt
# ORM
go get \
github.com/jinzhu/gorm \
github.com/denisenkom/go-mssqldb
go get github.com/jinzhu/gorm
# GangGo
go get \
go get -u \
gopkg.in/ganggo/ganggo.v0
gopkg.in/ganggo/federation.v0 \
gopkg.in/ganggo/api.v0 || true;
# Link to your current working directory
# in order to start compiling the project
ln -s $(shell pwd) $(GOPATH)/src/gopkg.in/ganggo/ganggo.v0
set-env:
$(info $(env_info))
clean:
rm -r test-results || true ; \
......
......@@ -94,3 +94,28 @@ Supported Architectures
- s390x
- sparc
- sparc64
### Contribution
Putting everything together you can build and run your own instance by running:
mkdir /tmp/go && cd /tmp/go
export GOPATH=$(pwd)
go get gopkg.me/ganggo/ganggo.v0
cd src/gopkg.in/ganggo/ganggo.v0
make install-deps
cp conf/app.conf.example conf/app.conf
# do something with the code
# then run compile or revel
make compile # will produce a tarball for deployment
# or simply run it locally
make precompile && \
revel run gopkg.in/ganggo/ganggo.v0
If you want to push your changes to the offical ganggo repository:
* fork the project
* create a new branch with your code changes
* create a [pull request](/ganggo/ganggo/compare)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment