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 [email protected]) - MongoDB - Keep a running daemon with
mongod - Python 2.7 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 installto install server dependencies. -
Run
sudo npm install -g bowerto install bower and then runbower install -f angular-ui-tree angular-bootstrap-lightbox angularjs-slider --config.directory=client/bower_componentsto install these bower components in the proper directory. -
Run
sudo mkdir -p /data/db/andsudo chown `id -u` /data/dbto create the MongoDB directory with user ownership and thenmongodin a separate shell to keep an instance of the MongoDB Daemon running. -
Run
sudo npm install --global [email protected]to install gulp andnpm link gulpto link it locally. Then rungulp serveto start the development server. It should automatically open the client in your browser when ready. -
Use the script add_mozaik_repository.py in the server directory to add mozaik simulations (
python add_mozaik_repository.py path_to_mozaik_simulation_run_output_directory) or mozaik parameter search (python add_mozaik_repository.py path_to_mozaik_parameter_search_output_directory name_of_the_simulation) in the mozaik repository.
Run gulp build for building and gulp serve for preview.