CS162 Kanban Board
The website is deployed on heroku and can be accessed on the following url: https://kanban-app-cs162.herokuapp.com/
Project Structure
/web contains application code.
/web/static css files.
/web/templates html files.
/web/__init__.py project initializer file.
/web/auth.py routes related to authorization/authentication.
/web/config.py different configurations based on running environment (test/dev/prod).
/web/models.py ORM mapping (from DB models to python classes) using SQLAlchemy.
/web/routes.py application routes.
/unit_test contains 25 unit tests in total. Tests for: registration, login, reset password, and kanban operations (todo, doing, done).
/migrations directory used to control DB migrations, using Flask-migrate.
.env/example contains all variables needed on your .env so the project runs on production or locally.
Procfile used for heroku deployment.
Virtual Environment
Creation of virtualenv:
$ virtualenv -p python3 venv
If the above code does not work, you could also do
$ python3 -m venv venv
To activate the virtualenv:
$ source venv/bin/activate
Or, if you are using Windows - reference source:
$ venv\Scripts\activate
To deactivate the virtualenv (after you finished working):
$ deactivate
Install dependencies in virtual environment:
$ pip3 install -r requirements.txt
Environment Variables
.env.example is a file containing all the environment variables that you need to define in a .env file for this project to run.
Run Application
Start the server on a mac locally by running:
$ source venv/bin/activate
$ pip install -r requirements.txt
$ export FLASK_ENV=dev
$ export FLASK_APP=web
$ python3 -m flask run
Unit Tests
To run the unit tests on mac use the following commands:
$ source venv/bin/activate
$ pip install -r requirements.txt
$ export FLASK_ENV=test
$ export SECRET_KEY='test-key'
$ python -m pytest unit_test
Metadata
Release files for pykanban 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pykanban-0.1.0.tar.gz | 17.6 kB | Without provenance | Details for pykanban-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pykanban-0.1.0-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for pykanban-0.1.0-py2.py3-none-any.whl |
Total release size: 34.2 kB
Release files / pykanban-0.1.0.tar.gz
| Download URL | pykanban-0.1.0.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b46b61091b29953ee4b46736862b85d246eebf174bbe23325aadfc5b3001e604
|
|
BLAKE2b-256 checksum How to use checksums |
38f14c7d5910305530468a5028772ddf1ecce8a90edb9fa38e0aba343400c931
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Release files / pykanban-0.1.0-py2.py3-none-any.whl
| Download URL | pykanban-0.1.0-py2.py3-none-any.whl |
|---|---|
| Size | 16.6 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
e238791d084cb252d136b397bbcab91c8876d3ec513e68ab6c29ad9f1f62d576
|
|
BLAKE2b-256 checksum How to use checksums |
f6d833570a51d29372aa6fe9818dc693355821e155aa93549040767e5f80929b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
python-requests/2.25.1
|
Security for pykanban 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.