Skip to content

Commit

Permalink
update procfile
Browse files Browse the repository at this point in the history
  • Loading branch information
leightkt committed Mar 11, 2021
1 parent 3958b9f commit c90e8b4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1 +1 @@
web: npm start
web: knex migrate:rollback && knex:migrate:latest && knex seed:run && node app.js
17 changes: 9 additions & 8 deletions knexfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@ module.exports = {
staging: {
},

production: {
host: "ec2-3-222-11-129.compute-1.amazonaws.com",
database: "dbjfv6jdkmfiqs",
user: "nlkzimsxtnwodh",
port: "5432",
password: "ab1453c651956f86341cfc13e8fc25d61894de57675c0ac4da4ca9a431ce1021",
dialect: 'postgres',
use_env_variable: DATABASE_URL
production: {,
client: 'pg',
connection: process.env.DATABASE_URL,
migrations: {
directory: __dirname + '/migrations'
},
seed: {
directory: __dirname + '/seeds'
}
}

};

0 comments on commit c90e8b4

Please sign in to comment.