goatcms

command module
v0.0.0-...-5bb3154 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 20, 2019 License: GPL-3.0 Imports: 6 Imported by: 0

README

Goatcms

Go Report Card GoDoc

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

  1. 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
  1. Run tests
cd YOUR_PROJECT_DIRECTORY
go test ./...

Authors

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL