This repository has been archived by the owner on Sep 30, 2024. It is now read-only.
forked from github/codespaces-flask
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Retrait du Bouton de test Le bouton Bouton avait été ajouté dans le cadre un test oublié d'être retiré. * Update README.md
- Loading branch information
Showing
1 changed file
with
27 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,34 @@ | ||
# GitHub Codespaces ♥️ Flask | ||
# This is my character of D&D3.5 | ||
It was used for one adventure. | ||
|
||
Welcome to your shiny new Codespace running Flask! We've got everything fired up and running for you to explore Flask. | ||
To run this application in debug run: | ||
|
||
You've got a blank canvas to work on from a git perspective as well. There's a single initial commit with the what you're seeing right now - where you go from here is up to you! | ||
``` | ||
flask --debug run | ||
``` | ||
|
||
To create a container there is a makefile | ||
build image: | ||
``` | ||
make build | ||
``` | ||
|
||
Everything you do here is contained within this one codespace. There is no repository on GitHub yet. If and when you’re ready you can click "Publish Branch" and we’ll create your repository and push up your project. If you were just exploring then and have no further need for this code then you can simply delete your codespace and it's gone forever. | ||
run container | ||
``` | ||
make create | ||
``` | ||
|
||
To run this application: | ||
erase container | ||
``` | ||
make erase | ||
``` | ||
|
||
If you wannt to change default parameter: | ||
- IMAGE : name of image you want to build or use | ||
- CONTAINER | ||
- PORT | ||
Example: | ||
``` | ||
flask --debug run | ||
make run IMAGE=my_image PORT=1236 CONTAINER=my_container name | ||
``` | ||
|