Skip to content

noshp/tuneship

Repository files navigation

tuneship

Webapp to display outgoing slack channel webhooks including links.

Setup dev environment


Use pipenv

#install dependencies and virtualenv
pipenv install --python 3.7

#Then activate your virtual env
pipenv shell

Running application

Once the postgres database is up and running and all requirements are installed. Export the Flask app in your terminal session.

export FLASK_APP=application.py

Then run the flask app

flask run

Updating db and migrations


Have a postgres instance running on port 5432

Supplied is a docker-compose.yml if you want to run a postgres container.

docker-compose up

We are using Flask-Migrate to handle all the database migrations. For initial db setup:

flask db init

To migrate follow these steps:

flask db migrate

#then to apply the migrations
flask db upgrade

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published