falken20 / falken_conf_files

Different configure files to copy in the projects

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool


falken_conf_files

Different configure files to copy in the projects

  • .github/workflows/python-app.yml -> CICD with GitHub

  • .env -> Several environment vars

  • .flaskenv -> Several Flask environment vars

  • .gcloudignore -> Default config for Files and folders that it shouldn't upload to Google Cloud Platform

  • .gitignore -> Default config about .gitignore for my projects

  • config_fk.py -> Python config file about several personal consts

  • error.py -> Python example to manage a commun error message

  • logger.py (usually in ./src): For managing console logs

  • falken_logo.ico

  • falken_logo.png

Deploy
Explain Heroku, GCP, etc. deploy method
Setup
pip install -r requirements.txt
Running the app
cd falken_chat
python main.py
Setup tests
pip install -r requirements-tests.txt
Running the tests with pytest and coverage
./scripts/ccheck_project.sh

or

coverage run -m pytest -v && coverage html --omit=*/venv/*,*/tests/*
Environment vars
ENV_PRO=N
LOG_LEVEL=INFO

# Weather station API key
API_KEY=XXXXXXXXXXXX
STATION_ID=XXXXXXXXXXXX

# Twitter params
CONSUMER_KEY=XXXXXXXXXXXX
CONSUMER_SECRET=XXXXXXXXXXXX
ACCESS_TOKEN=XXXXXXXXXXXX
ACCESS_TOKEN_SECRET=XXXXXXXXXXXX

Versions

1.2.0 New Log model integrated 1.1.0 Adaptations to ORM SQLAlchemy

About

Different configure files to copy in the projects


Languages

Language:Python 87.3%Language:Shell 10.9%Language:Procfile 1.7%