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

updated app setup in readme #200

Closed
wants to merge 3 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 2 additions & 8 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,7 @@ foreman start

### App setup

Before running bin/setup, ensure that 'foreman' is removed from the Gemfile.

Prior to running 'bin/setup', it may be necessary to launch the postgres server using
Prior to running 'bin/setup', it may be necessary to launch the postgres server using
```postgres -D /usr/local/var/postgres``` You can also use the OS X app.

To get started, run `bin/setup`
Expand All @@ -83,19 +81,15 @@ After setting up, you can run the application using [foreman]:

foreman start

If you don't have `foreman`, see [Foreman's install instructions][foreman]. It
is [purposefully excluded from the project's `Gemfile`][exclude].

[foreman]: https://github.com/ddollar/foreman
[exclude]: https://github.com/ddollar/foreman/pull/437#issuecomment-41110407

The application will run locally at http://localhost:5000/.

If you have previously run a project on a different port, a `.foreman` file
may be generated at the root of your directory. If so, make sure that this
file is set to port `5000` or you will be unable to authenticate locally with MyUSA.

If your server isn't defaulting to Port 5000, you may have to add a .foreman file to root directory. In the file, add "port: 5000".
If your server isn't defaulting to Port 5000, you may have to add a .foreman file to root directory. In the file, add "port: 5000".

### Testing
Testing is done using `capybara-poltergeist`, which requires a local install of [phantomjs](https://github.com/jonleighton/poltergeist#installing-phantomjs).
Expand Down