-
Notifications
You must be signed in to change notification settings - Fork 1
Setup Install Guide
Daniel Anner edited this page Apr 10, 2019
·
12 revisions
- Node v10.15.3
- NPM v6.9.0
- forever v0.15.3
- MySQL v8.0.15
- An open port on 4000, and 4001
- Virtualization: xen
- Operating System: CentOS Linux 7 (Core)
- CPE OS Name: cpe:/o:centos:centos:7
- Kernel: Linux 3.10.0-957.10.1.el7.x86_64
- Architecture: x86-64
Follow these steps during setup:
- run:
mkdir -p /var/www/
- run
mkdir -p /var/www_conf/bunny-api
- Clone the repo into /var/www
cd /var/www/ && git clone https://github.com/danner26/BunnyAPI.git
- Install node modules
cd bunny-api/backend/ && npm install
- Make your config file
touch /var/www_conf/BunnyAPI/db_conf.js
- Add the following to your config file
module.exports = {
host: 'localhost',
user: 'bunny_write',
password: 'sVMPx32ZuG?7',
database: 'bunnyapi',
secret: 'DZErK?TGt$Ehu+4bJ4W^Sc_acW=GH-Q9Fu&MUK$cx!Wn7',
};