Skip to content

Midburn's camps and art installations management system

Notifications You must be signed in to change notification settings

Midburn/communities

Repository files navigation

Build Status

Prerequisites

Node.JS

You should have Node.JS ver. 10+ installed (NVM/NVM Windows is recommended)

MySQL

You should have MySQL Server ver. 5.6/5.7 (Important!) installed and running.

Make sure to run npm run createdb in order to set up a new local db for development

Spark

This application uses Spark as parent application and logging in is done through spark.

you must have a running Spark ENV for logging in and cookie usage.

Installation

npm install

Development

Make sure to create a local .env file (see .env.example file)

Migrate db schema using npm run migrate

Run npm start:dev

Runs the app in the development mode.
Open http://localhost:3006 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

Testing

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

Building

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

Running in production

npm start

Will run the service in production mode (Make sure to have all correct env variables (see .env.example)

Features