Forkable wiki system based on Facebook's Draft.js
JavaScript HTML CSS
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
components
config
controllers
lib
models
src
store
test
views
.env.example
.eslintrc
.gitignore
.stylelintrc
LICENSE
README.md
app.js
gulpfile.js
package.json
yarn.lock

README.md

Wikode

The forkable Wiki.

Setting up a development environment

Requirements

PrerequisiteVersionHow to Install
Nodejs6.2.2Nodejs.org
NPM3.9.5Should be installed along with Node
Gulp&3.9.0npm install -g gulp
MongoDB3.0.7MongoDB.org

Directions

  1. Install dependencies above.

  2. git clone https://github.com/CAYdenberg/wikode.git and then cd wikode

  3. npm install

  4. Create a database and run MongoDB server. One way to do this is to create a directory in the project folder called data, and run mongod --dbpath full/path/to/data/folder.

  5. cp .env_example .env

  6. Open .env in a text editor. Enter a port (usually 3000) and leave env as development. Enter a random secret key (I use one from https://api.wordpress.org/secret-key/1.1/salt/) and your Mongo connection information (e.g. localhost:27017/data).

  7. Run gulp to build resources.

  8. Run npm start, open a browser and go to http://localhost/3000 or whatever port you used above.

  9. To begin development with watch and automatic reloading, run gulp watch. A new browser tab should open at localhost:3001.