Updated with windows
This commit is contained in:
@@ -25,6 +25,10 @@ text
|
||||
```bash
|
||||
# Create all empty files and folders with one command:
|
||||
mkdir -p flask_app/templates && cd flask_app && touch app.py database.py users.py users.db requirements.txt && mkdir -p venv && touch templates/base.html templates/home.html templates/login.html templates/register.html && cd .. && echo "✅ All empty files created in 'flask_app/':" && find flask_app/ -type f | sort
|
||||
|
||||
for windows
|
||||
|
||||
mkdir -Force flask_app\templates; cd flask_app; ni app.py, database.py, users.py, users.db, requirements.txt; mkdir -Force venv; ni templates\base.html, templates\home.html, templates\login.html, templates\register.html; cd ..; Write-Host "✅ All empty files created in 'flask_app/':" -ForegroundColor Green; Get-ChildItem -Path flask_app -File -Recurse | Sort-Object FullName | Select-Object -ExpandProperty FullName
|
||||
2. Setup Virtual Environment
|
||||
bash
|
||||
cd flask_app
|
||||
|
||||
Reference in New Issue
Block a user