Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance 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

Contributors 2

AltStyle によって変換されたページ (->オリジナル) /