https://github.com/divio/getting-started-with-flask
https://github.com/divio/getting-started-with-flask
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/divio/getting-started-with-flask
- Owner: divio
- License: other
- Created: 2024-03-25T12:22:03.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-07-25T14:03:07.000Z (almost 2 years ago)
- Last Synced: 2025-01-20T09:46:40.671Z (over 1 year ago)
- Language: Dockerfile
- Size: 12.7 KB
- Stars: 0
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Getting Started with Flask
[](https://control.divio.com/app/new/?template_url=https://github.com/divio/getting-started-with-flask/archive/refs/heads/main.zip)
Welcome to our QuickStart template – your portal to swift application development and seamless local testing. Whether you're delving into Flask for the first time or optimizing your workflow, our template, based on Flask's [Quickstart Guide](https://flask.palletsprojects.com/en/latest/quickstart/), has got you covered.
## Cloud Setup
Create a [Divio Account](https://control.divio.com/) and choose **Flask** from the template selection when creating a new application. Alternatively, click the `Deploy to Divio` button above and follow the app creation wizard. Finally, deploy your app to the `test` or `live` environment.
For in-depth details about Divio Cloud, refer to the [Divio documentation](https://docs.divio.com/introduction/).
## Local Setup
Install the [Divio CLI](https://github.com/divio/divio-cli) to set up your app locally.
Alternatively, build this app locally using Docker:
1. Ensure [Docker](https://docs.docker.com/get-docker/) is installed and running.
2. Clone this repository locally.
3. Build the app with `docker compose build`.
4. Run the app using `docker compose up`.
5. Open [http://localhost:8000]() to view your app.