{"id":16144429,"url":"https://github.com/ryanj/bottle-python3-quickstart","last_synced_at":"2025-04-06T20:15:38.134Z","repository":{"id":11074916,"uuid":"13419794","full_name":"ryanj/Bottle-Python3-quickstart","owner":"ryanj","description":"A quick start app for Bottle framework of Python 3.3 on OpenShift PaaS","archived":false,"fork":false,"pushed_at":"2013-10-08T16:59:09.000Z","size":158,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-13T02:16:42.716Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":false,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ryanj.png","metadata":{"files":{"readme":"README","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-10-08T17:01:05.000Z","updated_at":"2024-08-24T23:41:01.000Z","dependencies_parsed_at":"2022-09-11T10:51:50.627Z","dependency_job_id":null,"html_url":"https://github.com/ryanj/Bottle-Python3-quickstart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2FBottle-Python3-quickstart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2FBottle-Python3-quickstart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2FBottle-Python3-quickstart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ryanj%2FBottle-Python3-quickstart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ryanj","download_url":"https://codeload.github.com/ryanj/Bottle-Python3-quickstart/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247543598,"owners_count":20955865,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-10T00:13:10.193Z","updated_at":"2025-04-06T20:15:38.118Z","avatar_url":"https://github.com/ryanj.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Feel free to change or remove this file, it is informational only.\n\nRepo layout\n===========\nwsgi/ - Externally exposed wsgi code goes\nwsgi/static/ - Public static content gets served here\nlibs/ - Additional libraries\ndata/ - For not-externally exposed wsgi code\nsetup.py - Standard setup.py, specify deps here\n.openshift/action_hooks/pre_build - Script that gets run every git push before the build\n.openshift/action_hooks/build - Script that gets run every git push as part of the build process (on the CI system if available)\n.openshift/action_hooks/deploy - Script that gets run every git push after build but before the app is restarted\n.openshift/action_hooks/post_deploy - Script that gets run every git push after the app is restarted\n\nNotes about layout\n==================\nEvery time you push, everything in your remote repo dir gets recreated, please\nstore long term items (like an sqlite database) in the OpenShift data\ndirectory, which will persist between pushes of your repo.\nThe OpenShift data directory is accessible relative to the remote repo\ndirectory (../data) or via an environment variable OPENSHIFT_DATA_DIR.\n\n\nEnvironment Variables\n=====================\n\nOpenShift provides several environment variables to reference for ease\nof use.\n\n\nWhen embedding a database using 'rhc cartridge add', you can reference\nenvironment variables for username, host and password. Example for mysql:\n\n    os.environ['OPENSHIFT_MYSQL_DB_HOST']      - DB host\n    os.environ['OPENSHIFT_MYSQL_DB_PORT']      - DB Port\n    os.environ['OPENSHIFT_MYSQL_DB_USERNAME']  - DB Username\n    os.environ['OPENSHIFT_MYSQL_DB_PASSWORD']  - DB Password\n\nWhen embedding a NoSQL database using 'rhc cartridge add', you can\nreference environment variables for username, host and password.\nExample for MongoDB:\n    os.environ['OPENSHIFT_MONGODB_DB_HOST']      - NoSQL DB Host\n    os.environ['OPENSHIFT_MONGODB_DB_PORT']      - NoSQL DB Port\n    os.environ['OPENSHIFT_MONGODB_DB_USERNAME']  - NoSQL DB Username\n    os.environ['OPENSHIFT_MONGODB_DB_PASSWORD']  - NoSQL DB Password\n\nTo get a full list of environment variables, simply add a line in your\n.openshift/action_hooks/build script that says \"export\" and push.\n\n\nNotes about layout\n==================\nPlease leave wsgi, libs and data directories but feel free to create additional\ndirectories if needed.\n\nNote: Every time you push, everything in your remote repo dir gets recreated\nplease store long term items (like an sqlite database) in ../data which will\npersist between pushes of your repo.\n\n\nNotes about setup.py\n====================\n\nAdding deps to the install_requires will have the openshift server actually\ninstall those deps at git push time.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fbottle-python3-quickstart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fryanj%2Fbottle-python3-quickstart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fryanj%2Fbottle-python3-quickstart/lists"}