Skip to content

elrok123/crystal-cms-api

Repository files navigation

website

Your description here

Installation

Create a pg database called demo and configure the config/database.yml to provide the credentials to access the table.

Then:

shards update
crystal db/migrate.cr

Usage

To run the demo:

crystal build src/app.cr
./app

Docker and Docker Compose

This will start an instance of postgres, migrate the database, run the specs, and launch the site at http://localhost:80

docker-compose up -d

To view the logs:

docker-compose logs -f

Note: The Docker images are compatible with Heroku.

Contributing

  1. Fork it ( https://github.com/[your-github-name]/your_project/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

About

Changed to Kemalyst for the API

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published