Skip to content
/ maus Public

WebApp for creating modern html pages using markdown.

License

Notifications You must be signed in to change notification settings

mainzed/maus

Repository files navigation

maus

This project is generated with yo angular generator version 0.15.1.

Development

You need to have NodeJS and the Node Package Manager and MongoDB installed on your machine.

Run git clone https://github.com/mainzed/maus.git to copy this repository to your local machine.

Run npm install to install all required NodeJS packages and bower install to download all required frontend libraries. You may need to install bower globally first by running npm install bower -g.

If you haven't, fire up the MongoDB daemon by running mongod. Create a local MongoDB database with the name "markdownstore" by running mongo (in a separate terminal window) and then use markdownstore.

Run npm start to start an express server on port 3000 that will serve the app. Delete the "/dist" folder if it exists or express will serve it instead.

Running grunt test will run the unit tests with karma.

Deployment

Run grunt build for building (minification etc.) the app in the /dist folder. Run node server/server.js to serve the API and the static /dist folder.