Skip to content
Django like flask app broken into pieces. Snippet from a project.
JavaScript Python HTML CSS
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.vscode
common
config
portal_setup
static/portal_setup
templates/portal_setup
.gitignore
README.md
config.py
manage.py
reports.json
requirements.txt

README.md

run application

python manage.py runserver

 * [database] : [postgresql://postgres:HODL!fe@localhost:5432/hod] 
 * Serving Flask app "config" (lazy loading)
 * Environment: testing
 * Debug mode: on
 * Running on http://localhost:8080/ (Press CTRL+C to quit)
 * Restarting with stat
 * [database] : [postgresql://postgres:HODL!fe@localhost:5432/hod] 
 * Debugger is active!
 * Debugger PIN: 252-735-706

default port is 8080

secret settings

{
    "SECRET_KEY":"",
    "ENVIRONMENT": "TESTING",
    "SERVER_HOST": "localhost",
    "SERVER_PORT": 8080,    
    "DATABASE_ENGINE":"postgresql",
    "DB_USERNAME":"",
    "DB_PASSWORD":"",
    "DB_HOST":"localhost",
    "DB_PORT":"5432",
    "DB_NAME":"hod"
}
You can’t perform that action at this time.