Skip to content

Latest commit

 

History

History
44 lines (31 loc) · 1.72 KB

README.md

File metadata and controls

44 lines (31 loc) · 1.72 KB

Arkheia

This project was generated with the Angular Full-Stack Generator version 4.2.2.

Getting Started

Prerequisites

  • Git
  • Node.js and npm Node >= 4.x.x, npm >= 2.x.x
  • Gulp (sudo npm install -g [email protected])
  • MongoDB - Keep a running daemon with mongod
  • Python 3.8+ With the following package installed:
    * numpy
    * pymongo
    * gridfs
    * sphinx
    * pynn
    * parameters
    * re
    * sys
    * os
    * datetime
    * json
    * pickle
    * imageio==2.6
    * mozaik (https://github.com/CSNG-MFF/mozaik/)
    

Developing

  1. Run npm install to install server dependencies.

  2. Run sudo npm install -g bower to install bower and then run bower install -f angular-ui-tree angular-bootstrap-lightbox angularjs-slider --config.directory=client/bower_components to install these bower components in the proper directory.

  3. Run sudo mkdir -p /data/db/ and sudo chown `id -u` /data/db to create the MongoDB directory with user ownership and then mongod in a separate shell to keep an instance of the MongoDB Daemon running.

  4. Setup mozaik virtual env. (see https://github.com/CSNG-MFF/mozaik/) Install klein library. (pip install klein)

  5. Run sudo npm install --global [email protected] to install gulp and npm link gulp to link it locally. Then run gulp serve to start the development server. It should automatically open the client in your browser when ready.

Build & development

Run gulp build for building and gulp serve for preview.