This project was generated with the Angular Full-Stack Generator version 4.2.2.
- Git
- Node.js and npm Node >= 4.x.x, npm >= 2.x.x
- Gulp (
sudo npm install -g gulp@3.9.0
) - 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/)
-
Run
npm install
to install server dependencies. -
Run
sudo npm install -g bower
to install bower and then runbower install -f angular-ui-tree angular-bootstrap-lightbox angularjs-slider --config.directory=client/bower_components
to install these bower components in the proper directory. -
Run
sudo mkdir -p /data/db/
andsudo chown `id -u` /data/db
to create the MongoDB directory with user ownership and thenmongod
in a separate shell to keep an instance of the MongoDB Daemon running. -
Setup mozaik virtual env. (see https://github.com/CSNG-MFF/mozaik/) Install
klein
library. (pip install klein
) -
Run
sudo npm install --global gulp@3.9.0
to install gulp andnpm link gulp
to link it locally. Then rungulp serve
to start the development server. It should automatically open the client in your browser when ready.
Run gulp build
for building and gulp serve
for preview.