#GroundRules ===========+ A responsive web application powered by a custom rails Content Management System (CMS) that will provide access to informative coffee-based content to interested coffee drinkers.
-
Clone the repository onto your machine
$ git clone [email protected]:vigetlabs/GroundRules.git
-
Enter into the project directory
$ cd GroundRules
-
Ensure you have
postrgres
installed$ brew install postgres
-
Ensure the
postgres
server is running$ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start
-
Ensure you have
rbenv
installed on your machine$ brew install rbenv
-
Ensure you have Ruby
2.4.1
installed on your machine$ rbenv install 2.4.1
-
Install Bundler
$ gem install bundler
-
To get the application running, first install gem dependencies with Bundler:
$ bundle install
-
Install ImageMagick
$ brew install imagemagick
-
Copy the example environment dotfile and fill out:
$ cp config/secrets.example.yml config/secrets.yml
10a. Keys can be generated by using the following command:
$ bundle exec rake secret
-
Copy the sample database configuration file and fill out:
$ cp config/database.example.yml config/database.yml
-
Run npm install
$ npm install
-
Create, migrate and seed the database:
$ rake db:create db:migrate db:seed
-
Start the server:
$ rails s
Now the application will be available at localhost:3000
Submit pull request with proposed changes
Merge pull request after receiving approvals from two different developers on the project