Merge pull request #1 from Krafalski/karolin_review

minor clarifications
master
Matt Huntington 5 years ago committed by GitHub
commit c6c36f8257
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,6 +26,8 @@ After forking and cloning this repo to your local machine:
### Connect to db
**Note:** in your terminal, if running psql gives you "command not found", run ln -s /Applications/Postgres.app/Contents/Versions/latest/bin/psql /usr/local/bin/psql
Connect to psql and
```
@ -63,10 +65,12 @@ Instead of `matthuntington` insert your computer's username (what you found when
### Start App
- run before the first time only: `php artisan key:generate`
- run `php artisan serve`
- go to http://localhost:8000/
- go to http://localhost:8000/ to see that the app works
- if browser asks you to generate key, click the button
- go to http://localhost:8000/index.html
- go to http://localhost:8000/index.html to see the react app for `contacts`
## set up heroku
@ -98,6 +102,12 @@ Instead of `matthuntington` insert your computer's username (what you found when
1. run `git push heroku master`
1. run `heroku open` to see app (note this uses your heroku postgres database, which will have different data than your local db)
### Check your app on heroku
- `git push heroku master`
- `heroku open`
- go to `/index.html` to see the react app, the root will be default Laravel info.
## Rerunning local after initial set up
Open Postgres app and start the db

Loading…
Cancel
Save