Skip to content

HTW IMI-Project: Chasing Unicorns and Vampires in a Library

Notifications You must be signed in to change notification settings

elektrobohemian/imi-unicorns

 
 

Repository files navigation

Chasing Unicorns and Vampires in a Library

Only available in German: Report on the project is available here. The original slides are available here.

Installation

This application contains 2 parts, one is the Flask server which will serve the http calls and the angular application. The second part is the Angular 2 (Version 6 at this point) which will provide the frontend for this project. To get the Application running follow the steps belowe.

Download the Repository

git clone [email protected]:CouchCat/imi-unicorns.git

and go into the Application Folder

cd imi-unicorns

Database

To restore or create the Database excute the command:

mongorestore -d unicorns ./UnicornsDB/unicorns

Angular 2 (Web application)

Go into the Application Folder:

cd WebApp

and install all dependencies

npm install

for development run:

npm start

for test purposes build the application once with:

npm run build

for production builds, minified and uglyfied:

npm run prod

Python Flask (Server)

Next go back into the root directory

cd Server

create a Python virtual environment

python -m venv .

and install the dependencies of python with:

pip install -r requirements.txt

export the flask application to a enviroment variable:

export FLASK_APP=app/__init__.py

and run the server with:

flask run

the server will be available on:

localhost:5000

About

HTW IMI-Project: Chasing Unicorns and Vampires in a Library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 70.2%
  • CSS 18.4%
  • TypeScript 9.7%
  • HTML 1.5%
  • Other 0.2%