Skip to content
This repository has been archived by the owner on Dec 24, 2019. It is now read-only.

phansch/recipes

Repository files navigation

README

Build Status

Setup

For development and testing you will need to setup your own postgres user:

sudo apt-get update
sudo apt-get install postgresql postgresql-contrib libpq-dev

When the installation is done, login to the postgres user and access the postgresql shell.

sudo su - postgres
psql

Give the postgres user a new password:

\password postgres
Enter new password:

Next, create a new role named 'rails-dev' for the rails development with the command below:

create role rails_dev with createdb login password 'aqwe123';

Finally, setup your config/database.yml

cp config/database.example.yml config/database.yml

Fill in your chosen password and then run bin/setup

Tests

Run rspec spec.

You can use guard during development to only run the tests for files that have been modified.

Deployment

Each time the master branch is pushed to heroku, the app is deployed again.

README TODO

  • Ruby version

  • Configuration

  • How to run the test suite

  • Services (job queues, cache servers, search engines, etc.)

About

Open Source cooking recipe platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published