shorter
Shorter
I wanted to try some shit out in Crystal & Svelte. Sue me.
Wanna run it locally?
- Clone the repo
- Copy
.env.sample
to an.env
file at the root of the project and add your Google auth keys - From the root of the project, run
./dev-setup.sh
- Run
docker-compose up
- Visit http://localhost:5000 (or http://ui.shorter.lvh.me:5000 if you're using dockerdev)!
Development
Migrations
The project has Micrate set up because clear's migrations weren't documented enough for me to work them out. Mixing frameworks, yey!
- Create migrations with
docker-compose run --rm api crystal db/micrate.cr scaffold your_migration_name
- Edit them in
db/migrations
- Edit them in
- Run migrations with
docker-compose run --rm api crystal db/micrate.cr up
- Revert migrations with
docker-compose run --rm api crystal db/micrate.cr down
Repository
shorter
Owner
Statistic
- 0
- 0
- 2
- 0
- 0
- over 3 years ago
- May 27, 2021
License
Links
Synced at
Sun, 22 Dec 2024 15:31:13 GMT
Languages