Skip to content
/ tasker Public

Task manager on Flask utilizing SQLAlchemy

Notifications You must be signed in to change notification settings

dmxt/tasker

Repository files navigation

Task Manager on Flask

Initialize

Complete these steps one time in order to run an app:

  1. Enter virtual environment
$ python3 -m venv env
$ source env/bin/activate
  1. Install requirements:
(env) $ pip3 install -r requirements.txt
  1. Initialize database:
(env) $ python3
(env) $ from project.server import db
(env) $ db.create_all()
  1. Exit virtual environment
(env) $ deactivate

Running

After initialization, you can run app using the command below:

$ chmod +x start.sh
$ ./start.sh

Open in browser on localhost via port 5000

http://localhost:5000/

Docker

Build a container using instruction from Dockerfile.

$ docker build -t tasker .

Run a docker container. -p 3000:5000 expose port 5000 inside container to port 3000 outside.

$ docker run -p 3000:5000 tasker

You can connect to container via port 3000.

http://localhost:3000/ 

Testing

To run testing, use the command below:

$ chmod +x runtests.sh
$ ./runtests.sh

About

Task manager on Flask utilizing SQLAlchemy

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published