acourse
acourse copied to clipboard
Acourse Website
acourse
Acourse Website acourse.io
Development
Config
- add config/sql_url to your cockroachdb database
- add config/service_account to your gcloud service account (using for upload storage)
- add gcloud project id to config/project_id
- add gcloud bucket name to config/bucket
- add smtp email config to config/email_{from,password,port,server,user}
Software
- CockroachDB
- Redis (optional)
- goreload
- Node.js LTS
Running
- go get -u github.com/acoshift/goreload
- yarn install
- make style
- make dev
Testing
go get -u github.com/stretchr/testify/mock
go get -u github.com/onsi/ginkgo/ginkgo
go get -u github.com/onsi/gomega/...
go test ./...
License
Apache-2.0