Goatcms
Golang CMS system. Project is still in development.
Build
To build project use goatcli
Install goatcli
cd $GOPATH/src/github.com/goatcli
git colone https://github.com/goatcms/goatcli.git
cd goatcli
go install
Remember to set path environment to "$GOPATH/bin".
Run project build:
goatcli build
Index
Internship guide
A quick start for trainees is here
TODO
Create documentation
Environment varibale
- GOATCMS_TEST_MYSQL_USERNAME - is mysql database username
- GOATCMS_TEST_MYSQL_PASSWORD - is mysql database password
- GOATCMS_TEST_MYSQL_HOST - is mysql hostname (or ip)
Run tests
- Create MySQL / MariaDB database and set system environments variable
docker run --name test-mariadb -p 3306:3306 -e MYSQL_ROOT_PASSWORD=pass123 -d mariadb
export GOATCMS_TEST_MYSQL_USERNAME=root
export GOATCMS_TEST_MYSQL_PASSWORD=pass123
export GOATCMS_TEST_MYSQL_HOST=localhost
- Run tests
cd YOUR_PROJECT_DIRECTORY
go test ./...
Authors