triathlets
Triathlets
Project for triathlets
Installation
Install amber framework.
Then:
shards update
crystal sam.cr -- db:create
crystal sam.cr -- db:migrate
crystal db/seeds.cr
Usage
To run the demo:
crystal build src/triathlets.cr -o bin/triathlets --release --stats
bin/triathlets
or
amber w
run in production:
nohup amber r -p PORT -e production &
or
AMBER_ENV=production PORT=PORT nohup bin/triathlets &
Docker and Docker Compose
This will start an instance of postgres, migrate the database, run the specs, and launch the site at http://localhost:3000
docker-compose up -d
To view the logs:
docker-compose logs -f
Note: The Docker images are compatible with Heroku.
Contributing
- Fork it ( https://github.com/forsaken1/triathlets/fork )
- Create your feature branch (git checkout -b my-new-feature)
- Commit your changes (git commit -am 'Add some feature')
- Push to the branch (git push origin my-new-feature)
- Create a new Pull Request
Contributors
- forsaken1 Krylov Alexey - creator, maintainer
Repository
triathlets
Owner
Statistic
- 7
- 0
- 6
- 0
- 6
- almost 5 years ago
- September 11, 2017
License
MIT License
Links
Synced at
Sat, 21 Dec 2024 18:35:16 GMT
Languages