Yi-Hsiangf / Talent-Pool

The self-developed talent pool of TUMTICS

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Talent-Pool

The self-developed talent pool of TUMTICS, using Airtalble as its storage space.

Prerequisite

Set Up

Environmental Variable

Create the .env file:

export AIRTABLE_API_KEY=XXXXXXXXXXXXXXXXX
export AIRTABLE_BASE_ID=XXXXXXXXXXXXXXXXX
export FLASK_APP=<Server Name>      # For Example: app.dummy_server
export FLASK_ENV=development        # Default: production

Deployment

Docker-Compose

$ docker-compose up --build
$ docker-compose down

Development

flask-portal

$ cd ./flask-portal

Package Download and Switch Environment

$ pipenv install --dev
$ pipenv shell

Unit Test

$ python -m unittest                             # Test all scripts
$ python -m unittest tests/test_dummy_server.py  # Test a script

Run

$ python app/dummy_server.py

References

About

The self-developed talent pool of TUMTICS

License:MIT License


Languages

Language:Python 95.6%Language:Dockerfile 4.4%