Prerequisite: You need to have installed io.js, npm, gulp and ImageMagick.
- Clone this repository
git clone https://github.com/locator-kn/ark.git
cd ark
npm install
(you might need to fix various errors on Windows systems)
- Now set up the database: Install couchdb and create a new database named 'app'. Then:
npm run setup
- Set up the web-app
./build-webapp-dependency
- To run the application, enter the following in to the terminal:
gulp
You can now open http://localhost:3001
If you want to see a swagger ui, go to http://localhost:3001/documentation
This application is build on top of iojs and used hapijs as the server framework. The following plugins were designed and included in the server: