<< coming soon >>
-
Use GitHub to fork the project.
-
Clone your fork to your own computer.
cd /where/you/keep/your/code
git clone [email protected]:yourusername/nourish.party.git
-
Install Homebrew.
-
Install PostgreSQL using Homebrew, and start it.
brew install postgresql
brew services start postgresql
-
Install Ruby using a Ruby version manager of your choice. If you're new to Ruby and don't have opinions about version managers yet, we suggest RVM -- it's stable and well-documented.
-
Install Yarn, either via https://yarnpkg.com/en/docs/install or using your package manager of choice. On OS X with Homebrew, use
brew install yarn
-
Run the setup script:
cd /path/to/nourish.party
bin/setup
If you get a Ruby version error, try installing the specified version of Ruby
using your favorite Ruby version manager. For RVM, this will be
rvm install 2.4.2
. Then try running bin/setup
again.
cd /path/to/nourish.party
bin/serve
This starts several processes:
- The actual application, running on http://localhost:3000
- The asset builder and styleguide, which can be viewed at on http://localhost:3000/packs/styleguide
- The ruby code documentation viewer, available at http://localhost:8808/
- The installed gems code documentation viewer, available at http://localhost:8809/
Once you are running the server, you can explore the style guide by pointing your browser to http://localhost:3000/packs/styleguide as well as explore the documented code by opening http://localhost:8808/