Skip to content

Commit

Permalink
ch(Deploy to heroku): Deploy base app to heroku
Browse files Browse the repository at this point in the history
- Created review app
- Renamed heroku app

[finishes #168781674]
  • Loading branch information
ngireric123 committed Oct 7, 2019
1 parent f7373e4 commit 6b98434
Show file tree
Hide file tree
Showing 7 changed files with 29 additions and 5 deletions.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,9 @@ typings/
# Coveralls
.coveralls.yml

# PG DATA
pgdata

# VSCode
.DS_Store
.vscode/
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ Barefoot Nomad - Making company travel and accomodation easy and convinient.
Make company global travel and accommodation easy and convenient for the strong workforce of savvy members of staff, by leveraging the modern web.

---
For API documentation, please visit https://barefoot-nomad-dev.herokuapp.com/api/v1/api-docs/
For API documentation, please visit https://caret-bn-backend.herokuapp.com/api/v1/api-docs/
21 changes: 21 additions & 0 deletions app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"name": "caret-bn-backend",
"scripts": {},
"env": {},
"formation": {
"web": {
"quantity": 1
}
},
"addons": [
{
"plan": "heroku-postgresql:hobby-dev"
}
],
"buildpacks": [
{
"url": "heroku/nodejs"
}
],
"stack": "heroku-18"
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
"eslint-plugin-jsx-a11y": "^6.2.3",
"husky": "^3.0.7"
},
"engines":{
"engines": {
"node": "10.15.3"
}
}
Binary file added pgdata/pg_stat_tmp/global.stat
Binary file not shown.
Empty file added src/database/app.json
Empty file.
6 changes: 3 additions & 3 deletions src/database/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ module.exports = {
dialect: 'postgres',
},
production: {
username: process.env.DB_NAME,
username: process.env.DB_USERNAME,
password: process.env.DB_PASSWORD,
database: 'database_production',
host: '127.0.0.1',
database: process.env.DB_NAME,
host: process.env.host,
dialect: 'postgres',
}
};

0 comments on commit 6b98434

Please sign in to comment.