{"id":18829443,"url":"https://github.com/spokanetech/web_demo_python","last_synced_at":"2025-09-03T00:32:13.535Z","repository":{"id":210601976,"uuid":"726610821","full_name":"SpokaneTech/web_demo_python","owner":"SpokaneTech","description":"python based demo of the SpokaneTech website","archived":false,"fork":false,"pushed_at":"2024-01-17T03:48:46.000Z","size":168,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-11-08T01:45:02.710Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SpokaneTech.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-12-02T21:39:13.000Z","updated_at":"2024-01-17T03:25:23.000Z","dependencies_parsed_at":"2024-01-16T02:03:17.448Z","dependency_job_id":"99079563-fb46-4b05-8331-5214c447011c","html_url":"https://github.com/SpokaneTech/web_demo_python","commit_stats":null,"previous_names":["spokanetech/web_demo_python"],"tags_count":0,"template":false,"template_full_name":"djangoaddicts/repo_template","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpokaneTech%2Fweb_demo_python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpokaneTech%2Fweb_demo_python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpokaneTech%2Fweb_demo_python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SpokaneTech%2Fweb_demo_python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SpokaneTech","download_url":"https://codeload.github.com/SpokaneTech/web_demo_python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231820014,"owners_count":18431376,"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-11-08T01:44:50.131Z","updated_at":"2024-12-30T06:25:09.400Z","avatar_url":"https://github.com/SpokaneTech.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SpokaneTech web app\n\n![](static/demo.png)\n\n\u003c/br\u003e\n\n## Local Development\n### prerequisites\n1. git installed on the dev system\n2. python installed on the dev system \n\n\n### setup steps (in a terminal)\n1. clone the repo:\n\n    ```\n    git clone git@github.com:SpokaneTech/web_demo_python.git\n    ```\n\n    -- or -- \n\n    ```\n    git clone https://github.com/SpokaneTech/web_demo_python.git\n    ```\n\n2. cd into the repo directory\n    ```\n    cd web_demo_python\n    ```\n\n3. create a python virtual environment\n    ```\n    python -m venv venv\n    ```\n\n4. activate the python virutal environment\n    ```\n    source venv/bin/activate\n    ```\n\n5. install the python dependancies\n    ```\n    pip install .[dev]\n    ```\n\n6. cd to the django_project directory\n    ```\n    cd django_project\n    ```\n\n7. create a local sqlite3 database by running django migrations\n    ```\n    ./manage.py migrate\n    ```\n\n8. create a local admin user\n    ```\n    ./manage.py add_superuser --group admin\n    ```\n\n9. generate some test data\n    ```\n    ./manage.py generate_data\n    ```\n\n10. start the local demo server\n    ```\n    ./manage.py runserver\n    ```\n\n11. open a browser and navigate to http://127.0.0.1:8000 (log in with admin/admin)\n\n\n    ** you can stop the local demo server anytime via ```ctrl + c ```\n\n\u003cbr/\u003e\nFYI:\n\n- steps 1-9 only need to be done once (unless you need to apply new migrations or start over); \n- restart the demo server anytime with the django management command: ```./manage.py runserver```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspokanetech%2Fweb_demo_python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspokanetech%2Fweb_demo_python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspokanetech%2Fweb_demo_python/lists"}