{"id":23878399,"url":"https://github.com/eugeniusms/pbp-assignment","last_synced_at":"2026-05-17T06:41:27.350Z","repository":{"id":60212659,"uuid":"534669643","full_name":"eugeniusms/pbp-assignment","owner":"eugeniusms","description":"Platform-Based Programming (CSGE602022) - Organized by the Faculty of Computer Science Universitas Indonesia, Odd Semester 2022/2023","archived":false,"fork":false,"pushed_at":"2022-11-18T19:44:26.000Z","size":4968,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-03T21:41:21.552Z","etag":null,"topics":["backend","college","django","heroku","pbp","python"],"latest_commit_sha":null,"homepage":"https://pbp-assignment-eugeniusms.herokuapp.com","language":"HTML","has_issues":true,"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/eugeniusms.png","metadata":{"files":{"readme":"README.en.md","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":"2022-09-09T14:09:52.000Z","updated_at":"2022-10-11T19:42:38.000Z","dependencies_parsed_at":"2023-01-21T23:50:45.089Z","dependency_job_id":null,"html_url":"https://github.com/eugeniusms/pbp-assignment","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":"pbp-fasilkom-ui/assignment-repository","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeniusms%2Fpbp-assignment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeniusms%2Fpbp-assignment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeniusms%2Fpbp-assignment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugeniusms%2Fpbp-assignment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugeniusms","download_url":"https://codeload.github.com/eugeniusms/pbp-assignment/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240245893,"owners_count":19771029,"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":["backend","college","django","heroku","pbp","python"],"created_at":"2025-01-03T21:35:59.361Z","updated_at":"2025-10-12T16:50:14.198Z","avatar_url":"https://github.com/eugeniusms.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# PBP Django Project Template\n\nPlatform-Based Programming (CSGE602022) - Organized by the Faculty of Computer Science Universitas Indonesia, Odd Semester 2022/2023\n\n## Introduction\n\nThis repository is a template that is designed to help students who take the Platform-Based Development/Programming Course (CSGE602022) to know the structure of a Django Web application project, including the files and configurations that are important in running the application. You can freely copy the contents of this repository or utilise this repository as a learning material and also as a starting code to build a Django Web application project.\n\n## How to Use\n\nIf you want to use the code template in this repository as a starter code for\ndeveloping a Django Web application:\n\n1. Open the GitHub page of the code template repository and click \"**Use this template**\"\n   button to make a copy of the repository into your own GitHub account.\n2. Clone the new Django template repository from your GitHub account to a\n   location in the filesystem of your local development environment by using\n   Git:\n\n   ```shell\n   git clone \u003cURL to your repository on GitHub\u003e \u003cpath in local development environment\u003e\n   ```\n3. Go to the location where the cloned repository is located in the local\n   development environment:\n\n   ```shell\n   cd \u003cpath to the cloned repository\u003e\n   ```\n4. Create a Python virtual environment named `env` inside the cloned repository\n   by using Python's `venv` module:\n\n   ```shell\n   python -m venv env\n   ```\n5. Activate the virtual environment:\n\n   ```shell\n   # Windows\n   .\\env\\Scripts\\activate\n   # Linux/Unix, e.g. Ubuntu, MacOS\n   source env/bin/activate\n   ```\n6. Verify the virtual environment has been activated by looking at the prompt\n   of your shell. Make sure there is a `env` prefix in your shell. For example:\n\n   ```shell\n   # Windows using `pwsh` shell\n   (env) PS C:\\Users\\RickeyAstley\\my-django-app\n   # Linux/Unix, e.g. Ubuntu using `bash` shell\n   (env) rickeyastley@ubuntu:~/my-django-app\n   ```\n\n   \u003e Note: You can use [Visual Studio Code][] (with Python extension) or [PyCharm][]\n   \u003e to open the source code directory that has a virtual environment directory.\n   \u003e Both will detect the virtual environment and use the correct Python virtual\n   \u003e environment. Furthermore, you can also run your shell directly in both text\n   \u003e editor/IDE.\n7. Install the dependencies needed to build, test, and run the application:\n\n   ```shell\n   pip install -r requirements.txt\n   ```\n8. Run the Django Web application using local development server:\n\n   ```shell\n   python manage.py runserver\n   ```\n9. Open http://localhost:8000 in your favourite Web browser to see if the Web\n   application is running.\n\n## Deployment Example\n\nThe code template provided a GitHub workflow to deploy the sample Django Web\napplication to [Heroku][], which is a Platform-as-a-Service (PaaS) provider\nthat lets you to build and run a Web application on their infrastructure. You\ncan read the instructions at [Tutorial 0][] to figure out how to configure the\nGitHub Actions to run the provided workflow in your repository.\n\nFor reference, the deployed Django Web application example from the original\ncode template repository can be found at: https://django-pbp-template.herokuapp.com.\n\n## Next Actions\n\nIf you have successfully created your own repository and set up the Django Web\napplication project, you can start working on the weekly tutorials and assignments\nrelated to Django Web application development. \n\nIf you found any issues or have ideas to improve the code template, feel free\nto discuss your proposal via the [issue tracker](https://github.com/pbp-fasilkom-ui/django-pbp-template/issues)\nand create a Pull Request (PR) containing your changes to the code template.\n\n## Credits\n\nThis template was based on [PBP Odd Term 2021/2022](https://gitlab.com/PBP-2021/pbp-lab) written by 2021 Platform Based Programming Teaching Team ([@prakashdivyy](https://gitlab.com/prakashdivyy)) and [django-template-heroku](https://github.com/laymonage/django-template-heroku) written by [@laymonage, et al.](https://github.com/laymonage). This template is designed in such a way so that students can use this template as a starter and reference in doing assignments and their work.\n\n[Heroku]: https://www.heroku.com/\n[Tutorial 0]: https://pbp-fasilkom-ui.github.io/ganjil-2023/en/assignments/tutorial/tutorial-0\n[Visual Studio Code]: https://code.visualstudio.com/\n[PyCharm]: https://www.jetbrains.com/pycharm/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugeniusms%2Fpbp-assignment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugeniusms%2Fpbp-assignment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugeniusms%2Fpbp-assignment/lists"}