Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/substance/notes

Real-time collaborative notes editing.
https://github.com/substance/notes

Last synced: 7 days ago
JSON representation

Real-time collaborative notes editing.

Awesome Lists containing this project

README

        

# Substance Notes [![Build Status](https://travis-ci.org/substance/notes.svg?branch=master)](https://travis-ci.org/substance/notes)

Real-time collaborative notes editing.

# Install

Clone the repo

```bash
git clone https://github.com/substance/notes.git
```

Install dependencies

```bash
npm install
```

Seed the db

```bash
npm run seed dev
```

Start the app

```bash
npm start
```

To login with the test user:

```bash
http://localhost:5000/#loginKey=1234
```

# Configuration

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:

```bash
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

# Bundling

Server will serve bundled version of app in production mode. So you should execute this command before:

```bash
npm run bundle
```