Horigene Web Application power by Bioclues. It is resarch paper Project
/
├── LICENSE.md
├── README.md
├── requirements.txt
└──Horigene # Flask project folder
├── www # Angular project folder
│ ├── dist/base
│ ├── e2e
│ ├── karma.conf.js
│ ├── node_modules
│ ├── package.json
│ ├── protractor.conf.js
│ ├── README.md
│ ├── src
│ ├── tsconfig.json
│ └── tslint.json
└── main.py
Install the following requisites:
- Python3
- Virtualenv
- NodeJs
- Angular-cli
Create virtual enviroment folder and load:
$ virtualenv -p python3 .venv
$ source .venv/bin/activate
Install python dependencies:
(.venv) $ pip install -r requirements.txt
Install angular dependencies:
$ cd www
$ npm install
First build production application of Angular with Angular-cli:
$ cd Horigene
$ ng build --prod
Start server:
$ source .venv/bin/activate
(.venv) $ python Horigene/main.py
/
: Index route will serve angular application./hello
: return Flaskhello
function.
- Goutam Kumar Dhandh: profile