lucky-blog

A rewrite of my Blog using Crystal and the Lucky Framework

Vince's

This is a project written using Lucky. Enjoy!

Setting up the project

  1. Install required dependencies
  2. Update database settings in config/database.cr
  3. Run script/setup
  4. Run lucky dev to start the app

Deploying the project

  1. Make a build release crystal build --release src/start_server.cr
  2. Load your posts DATABASE_URL=postgresql://username:password@127.0.0.1/vinces_production crystal run tasks.cr -- load_posts -l fr -d content/fr/
  3. Build the assets yarn prod
  4. Starts your server with ./start_server

You should definitively have a look at the official documentation to deploy the project.

Learning Lucky

Lucky uses the Crystal programming language. You can learn about Lucky from the Lucky Guides.

Owner
github statistic
  • 0
  • 0
  • 0
  • 0
  • 8 days ago
  • September 22, 2020
License

Links
Synced at

Thu, 21 Jan 2021 09:07:46 GMT