This is a simple Flask application to help you get started with web development in Python.
- Minimal Flask setup
- Example routes
- Easy to extend
-
Clone the repository (choose one method):
- HTTPS:
git clone https://github.com/ItamarShalev/hackathon_guide.git cd hackathon_guide - SSH:
git clone git@github.com:ItamarShalev/hackathon_guide.git cd hackathon_guide
- HTTPS:
-
Install dependencies:
python -m pip install uv
-
Run the app:
uv run flask --app client:app run --reload --port 80 --host 0.0.0.0
-
Visit in your browser:
http://127.0.0.1/ -
Run fastAPI:
uv run uvicorn server:app --reload --port 8000 --host 0.0.0.0
-
Visit fastAPI in your browser:
http://127.0.0.1:8000
-
Add a new python package:
- Run the following command:
uv add <package_name>
- Run the following command:
-
Run jupyter notebook:
- Run the following command:
uv run jupyter nbconvert --to notebook --execute jupyter_file.ipynb --output output.ipynb
- Run the following command:
Happy coding!