Skip to content

Commit

Permalink
everything should be working properly
Browse files Browse the repository at this point in the history
  • Loading branch information
danner26 committed Apr 10, 2019
1 parent 697fd06 commit c3aaec4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion backend/conf/db.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
const mysql = require('mysql');
const dbDetails = require('/var/www_conf/bunny-api/db');
const dbDetails = require('/var/www_conf/BunnyAPI/db_conf');

const db = mysql.createConnection ({
host: dbDetails.host,
Expand Down
2 changes: 2 additions & 0 deletions docs/setup_database.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
source create_database.sql
source post.sql
2 changes: 1 addition & 1 deletion start-bunny.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#Setup API server enviornment
#####################################################
if [ -z "$API_HOME" ]; then
export API_HOME=/var/www/bunny-api/backend
export API_HOME=/var/www/BunnyAPI/backend
fi

export NODE_ENV=production
Expand Down

0 comments on commit c3aaec4

Please sign in to comment.