https://github.com/colemangariety/cetch
CETCH (Code Execution Time CHallenge)
https://github.com/colemangariety/cetch
competition competitive-programming go project-euler webservice
Last synced: about 1 year ago
JSON representation
CETCH (Code Execution Time CHallenge)
- Host: GitHub
- URL: https://github.com/colemangariety/cetch
- Owner: ColemanGariety
- Created: 2016-12-23T08:08:44.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-05T08:11:50.000Z (about 9 years ago)
- Last Synced: 2024-09-15T10:23:34.431Z (over 1 year ago)
- Topics: competition, competitive-programming, go, project-euler, webservice
- Language: Go
- Homepage: http://cetch.net
- Size: 1.07 MB
- Stars: 2
- Watchers: 4
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# cetch.com
Install the deps (`godep restore`):
$ make install
Godeps doesn't handle dev deps so we do this to install dev tools (fresh, goose, and testify):
$ make install_dev
You'll want to create the postgres role and development database:
$ sudo -i -u postgres
$ createuser -s cetch
$ createdb cetch_development
Then run the migrations via goose (with the `-env development` flag):
$ make db_migrate
Watch for changes while working (sets `dbname` and `base_path` flags):
$ make watch
And run the test suite (test db is automatically created before tests run and dropped afterwards):
$ make test
Running the application in production without make would look like this:
$ go build
$ env dbname=cetch_production basePath=$GOPATH/src/github.com/JacksonGariety/cetch ./cetch