crystal-amber-url-shortener
crystal-amber-url-shortener
This is a project written using Amber. Enjoy!
Getting Started
These instructions will get a copy of this project running on your machine for development and testing purposes.
Please see deployment for notes on deploying the project in production.
Prerequisites
This project requires Crystal (installation guide).
Development
To start your Amber server:
- Install dependencies with
shards install
- Build executables with
shards build
- Create and migrate your database with
bin/amber db create migrate
. Also see creating the database. - Start Amber server with
bin/amber watch
Now you can visit http://localhost:3000/ from your browser.
Getting an error message you need help decoding? Check the Amber troubleshooting guide, post a tagged message on Stack Overflow, or visit Amber on Gitter.
Using Docker? Please check Amber Docker guides.
Tests
To run the test suite:
crystal spec
Contributing
- Fork it ( https://github.com/your-github-user/crystal-amber-url-shortener/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
- your-github-user Tomasz Wegrzanowski - creator, maintainer
Repository
crystal-amber-url-shortener
Owner
Statistic
- 0
- 0
- 0
- 0
- 7
- about 1 month ago
- June 5, 2020
License
Links
Synced at
Sat, 21 Dec 2024 18:01:32 GMT
Languages