Giter Site home page Giter Site logo

careers_page's Introduction

Local setup

I spent a while trying to put together a vagrant project, and my fruitless efforts are on the vagrant branch. So here's how to set it up on OSX, assuming the repo has been cloned and you are in the project root:

Run bundler:

    bundle install

If bundle fails to install pg (and gem install pg also doesn't work), it means Postgres needs to be installed and the Postgres server needs to be started. Installing Postgres will depend on your package manager, but here's how to do it with Homebrew:

    brew update && brew install postgresql

and to start the Postgres server:

    pg_ctl -D /usr/local/var/postgres start

Create the database user:

    sudo createuser -P -s -e cpb_admin

Create/migrate the databases:

    bundle exec rake app:setup
Run tests
bundle exec rspec
Local server with dummy data
bundle exec rake db:seed
bundle exec rails s

careers_page's People

Contributors

bentrevor avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.