Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 1.34 KB

setup.md

File metadata and controls

33 lines (24 loc) · 1.34 KB

How To Setup

  1. Clone this repo.

Express Setup

  1. Open terminal/cmd in Spine-Express folder and run npm install
  2. Run npm run setup and fill in information.
    • If you mess up, just re-run npm run setup
    • Note: Db Variables are setup for using docker instance
    • Note: E-Mailer will only be used if useMailer in appConfig.js is true.

Database Setup

Using Docker

  1. Open terminal/cmd in Spine-Express folder
  2. Run docker-compose up -d.
    • Note: It may take a while for the database to become fully initialized and ready to accept connections.
    • To check the status of the Mysql docker container run docker-compose ps to see if it is still up.
      • If it is not, you can get more information by running docker-compose logs

Not Using Docker

  1. Start an instance of MySql and/or make a new Schema for this project.
    • If you do not have MySql Installed:
      • You can download and install it from mysql.com
      • Or if you are familiar with docker you can setup a new instance very quickly.
  2. With SQL use 'nameOfNewSchema'
  3. Run setupTables.sql