Skip to content

Setup Install Guide

Daniel Anner edited this page Apr 10, 2019 · 12 revisions

This guide was setup and tested using the following prerequisites:

  • Node v10.15.3
  • NPM v6.9.0
  • forever v0.15.3
  • MySQL v8.0.15
  • An open port on 4000, and 4001

Built and tested on the following virtualized machine:

  • 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:

  1. run: mkdir -p /var/www/
  2. run mkdir -p /var/www_conf/bunny-api
  3. Clone the repo into /var/www cd /var/www/ && git clone https://github.com/danner26/BunnyAPI.git
  4. Install node modules cd bunny-api/backend/ && npm install
  5. Make your config file touch /var/www_conf/BunnyAPI/db_conf.js
  6. Add the following to your config file
module.exports = {
  host: 'localhost',
  user: 'USERNAME',
  password: 'PASSWORD',
  database: 'DB_NAME',
  secret: 'SECRET_KEY',
};
Clone this wiki locally