https://github.com/sleepingkingstudios/python-reference-sheet
https://github.com/sleepingkingstudios/python-reference-sheet
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/sleepingkingstudios/python-reference-sheet
- Owner: sleepingkingstudios
- Created: 2024-03-29T20:02:25.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-06-28T23:41:24.000Z (about 2 years ago)
- Last Synced: 2024-06-29T03:48:11.103Z (about 2 years ago)
- Language: Python
- Size: 60.5 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Python Reference Sheet
A [Flask](https://flask.palletsprojects.com/en/3.0.x/) application.
## Local Development
1. Activate the `venv` Virtual Environment:
```bash
. .venv/bin/activate
```
2. Install the application:
```bash
pip install -e .
```
3. Run the application:
```bash
flask --app anaconda run --port=3000 --debug
```
> @note: The default port 5000 is not recommended on macOS devices due to a
> conflict with Airdrop services.
4. Run the unit tests:
```bash
pytest
```
5. Run the code linter:
```bash
pycodestyle anaconda
```