Skip to content

Latest commit

 

History

History
32 lines (29 loc) · 805 Bytes

README.md

File metadata and controls

32 lines (29 loc) · 805 Bytes

nodeAbode!

Creating the databases

  • 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