Real-time collaborative notes editing.
Clone the repo
git clone https://github.com/substance/notes.git
Install dependencies
npm install
Seed the db
npm run seed dev
Start the app
npm start
To login with the test user:
http://localhost:5000/#loginKey=1234
You can configure app for different environments.
To do that just make a new copy of default.json
from config
folder with name of your environment and run:
export NODE_ENV=myEnv
For example you can create config/production.json and then run export NODE_ENV=production
.
You should run seed after executing this command
Server will serve bundled version of app in production mode. So you should execute this command before:
npm run bundle