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 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. -
Setup mozaik virtual env. (see https://github.com/CSNG-MFF/mozaik/) Install
kleinlibrary. (pip install klein) -
Run
sudo npm install --global gulp@3.9.0to 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.
Run gulp build for building and gulp serve for preview.