Skip to content
This repository was archived by the owner on Jul 22, 2022. It is now read-only.

vigetlabs/GroundRules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

bb7946b · Jul 20, 2017

History

25 Commits
Jul 12, 2017
Jul 20, 2017
Jun 29, 2017
Jul 20, 2017
Jul 20, 2017
Jun 29, 2017
Jun 29, 2017
Jul 20, 2017
Jul 20, 2017
Jun 29, 2017
Jun 29, 2017
Jun 29, 2017
Jul 20, 2017
Jul 11, 2017
Jun 29, 2017
Jun 29, 2017
Jul 11, 2017
Jul 20, 2017
Jul 20, 2017
Jul 20, 2017
Jun 29, 2017
Jun 29, 2017
Jul 20, 2017

Repository files navigation

#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.

Development Setup

  1. Clone the repository onto your machine

    $ git clone [email protected]:vigetlabs/GroundRules.git

  2. Enter into the project directory

    $ cd GroundRules

  3. Ensure you have postrgres installed

    $ brew install postgres

  4. Ensure the postgres server is running

    $ pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start

  5. Ensure you have rbenv installed on your machine

    $ brew install rbenv

  6. Ensure you have Ruby 2.4.1 installed on your machine

    $ rbenv install 2.4.1

  7. Install Bundler

    $ gem install bundler

  8. To get the application running, first install gem dependencies with Bundler:

    $ bundle install

  9. Install ImageMagick

    $ brew install imagemagick

  10. 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
  1. Copy the sample database configuration file and fill out:

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

  2. Run npm install

    $ npm install

  3. Create, migrate and seed the database:

    $ rake db:create db:migrate db:seed

  4. Start the server:

    $ rails s

Now the application will be available at localhost:3000

Deploying Changes

Submit pull request with proposed changes

Merge pull request after receiving approvals from two different developers on the project

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published