nodeAbode!
- create your
config.json
file in: ./server/config.json
- fill in
config.json
with the following:
{
"development": {
"username": "DB_SUPERUSER",
"password": "DB_SUPERUSER_PW",
"database": "DB_NAME",
"host": "127.0.0.1",
"port": "5432",
"dialect": "postgres"
},
"test": {
"username": "DB_SUPERUSER",
"password": "DB_SUPERUSER_PW",
"database": "DB_NAME",
"host": "127.0.0.1",
"port": "5432",
"dialect": "postgres"
}
}
- run your DB migrate using:
node_modules/.bin/sequelize db:migrate
An Airbnb clone built by Jason Luong, Jess Astbury and Mike Miller