Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mr-sunglasses/test-app
https://github.com/mr-sunglasses/test-app
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/mr-sunglasses/test-app
- Owner: Mr-Sunglasses
- Created: 2022-04-10T13:45:38.000Z (almost 3 years ago)
- Default Branch: master
- Last Pushed: 2022-04-10T14:05:06.000Z (almost 3 years ago)
- Last Synced: 2024-06-11T21:29:05.914Z (7 months ago)
- Language: HTML
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Simple Flask Todo App using SQLAlchemy and SQLite database.
For styling [semantic-ui](https://semantic-ui.com/) is used.
### Setup
Create project with virtual environment```console
$ mkdir myproject
$ cd myproject
$ python3 -m venv venv
```Activate it
```console
$ . venv/bin/activate
```or on Windows
```console
venv\Scripts\activate
```Install Flask
```console
$ pip install Flask
$ pip install Flask-SQLAlchemy
```Set environment variables in terminal
```console
$ export FLASK_APP=app.py
$ export FLASK_ENV=development
```or on Windows
```console
$ set FLASK_APP=app.py
$ set FLASK_ENV=development
```Run the app
```console
$ flask run
```