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 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. -
Run
sudo npm install --global [email protected]
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. -
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.