|
|
|
@ -95,3 +95,16 @@ Instead of `matthuntington` insert your computer's username (what you found when
|
|
|
|
1. `INSERT INTO people ( name, age ) VALUES ( 'Sally', 54 );`
|
|
|
|
1. `INSERT INTO people ( name, age ) VALUES ( 'Sally', 54 );`
|
|
|
|
1. `INSERT INTO people ( name, age ) VALUES ( 'Zanthar', 4892 );`
|
|
|
|
1. `INSERT INTO people ( name, age ) VALUES ( 'Zanthar', 4892 );`
|
|
|
|
1. exit heroku psql with `\q`
|
|
|
|
1. exit heroku psql with `\q`
|
|
|
|
|
|
|
|
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)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
## Rerunning local after initial set up
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Open Postgres app and start the db
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In terminal:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Go to repo root dir
|
|
|
|
|
|
|
|
1. Run `php artisan serve`
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In Browser go to http://localhost:8000/index.html
|
|
|
|
|