Merge pull request #270 from stevel408/master

Mentioned Ubuntu 18.04 as known-to-work in README
This commit is contained in:
Eric Schultz 2020-06-10 17:34:36 -05:00 committed by GitHub
commit 7b94d1ea44
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -30,8 +30,8 @@ Houdini is designed and tested to run with the following:
* Ruby 2.6 * Ruby 2.6
* Node 12 * Node 12
* Yarn * Yarn
* PostgreSQL 11 * PostgreSQL 10 or 11
* Ubuntu 20.04 or equivalent * Ubuntu 18.04, 20.04 or equivalent
## Get involved ## Get involved
Houdini's success depends on you! Houdini's success depends on you!
@ -55,7 +55,7 @@ which make development much easier.
These include: These include:
* PostgreSQL 11 * PostgreSQL 10 or 11
* NodeJS 12 LTS * NodeJS 12 LTS
* Ruby 2.6.6 (NOTE: the default of Ruby 2.7.1 in Debian should * Ruby 2.6.6 (NOTE: the default of Ruby 2.7.1 in Debian should
function but you will receive a ton of deprecation function but you will receive a ton of deprecation
@ -76,9 +76,8 @@ prepared for AVN, like Houdini.
#### One-time setup #### One-time setup
You'll want to run the next commands as root or via sudo. You could do this by typing `sudo /bin/sh` running the commands from there. You'll want to run the next commands as root or via sudo (for Ubuntu 18.04 users or anyone running ProgresSQL 10, change "postgresql-11" below to "postgresql-10"). You could do this by typing `sudo /bin/sh` running the commands from there.
TIP: this is the root shell. There's no restrictions on what you do here so be careful!
```bash ```bash
apt update apt update
apt install curl -yy apt install curl -yy
@ -151,6 +150,28 @@ dashboard. On your development environment,
make sure to use test keys. If you don't, you're make sure to use test keys. If you don't, you're
going to be charged real money! going to be charged real money!
#### Testing
To verify everying is set up correctly, you can try running through the test cases:
```bash
./bin/rails spec
```
You should expect to see the output of the test execution,
including messages about pending test cases, and
eventually get the output to the effect of below:
```
Finished in 6 minutes 25 seconds (files took 10.35 seconds to load)
2433 examples, 0 failures, 42 pending
Coverage report generated for RSpec to .../houdini/coverage. 10552 / 12716 LOC (82.98%) covered.
```
The important thing to look for is that the number of
failures is zero.
#### Startup #### Startup
`bin/rails server` `bin/rails server`
You can connect to your server at http://localhost:5000 You can connect to your server at http://localhost:5000