{"id":20113124,"url":"https://github.com/cloudacademy/pizza-time","last_synced_at":"2025-11-27T08:02:09.776Z","repository":{"id":52494944,"uuid":"62656497","full_name":"cloudacademy/pizza-time","owner":"cloudacademy","description":"This repo is part of the Hands-on preparation for the AWS Certified SysOps Administrator exam course at Cloud Academy","archived":false,"fork":false,"pushed_at":"2016-10-11T16:34:19.000Z","size":1541,"stargazers_count":6,"open_issues_count":1,"forks_count":11,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-02T18:51:14.527Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","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/cloudacademy.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}},"created_at":"2016-07-05T17:34:32.000Z","updated_at":"2019-04-04T09:33:52.000Z","dependencies_parsed_at":"2022-09-06T12:41:56.788Z","dependency_job_id":null,"html_url":"https://github.com/cloudacademy/pizza-time","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/cloudacademy/pizza-time","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fpizza-time","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fpizza-time/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fpizza-time/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fpizza-time/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudacademy","download_url":"https://codeload.github.com/cloudacademy/pizza-time/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudacademy%2Fpizza-time/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286079811,"owners_count":27282121,"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","status":"online","status_checked_at":"2025-11-27T02:00:05.795Z","response_time":58,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-13T18:23:22.146Z","updated_at":"2025-11-27T08:02:09.757Z","avatar_url":"https://github.com/cloudacademy.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"Certified SysOps Administrator for AWS\n-----------------------------\n\nThis repository is part of the [SysOps Administrator — Associate Certification for AWS](https://cloudacademy.com/learning-paths/aws-sysops-7/) Learning Path\n\n###Further material\n\n  - [Whitepaper: Overview of security processes](http://d0.awsstatic.com/whitepapers/Security/AWS%20Security%20Whitepaper.pdf)\n  - [Whitepaper: Amazon Virtual Private Cloud Connectivity Options](http://media.amazonwebservices.com/AWS_Amazon_VPC_Connectivity_Options.pdf)\n  - [Whitepaper: Operational checklists for AWS (Preparing for security assessments)](http://media.amazonwebservices.com/AWS_Operational_Checklists.pdf)\n  - [Page: Troubleshooting EC2 connectivity issues](https://aws.amazon.com/premiumsupport/knowledge-center/linux-credentials-error/)  \n  - [Video: How should I connect to my Amazon virtual private cloud?](https://aws.amazon.com/premiumsupport/knowledge-center/connect-vpc/)\n  - [Video: How do I troubleshoot problems connecting to my EC2 Linux instance using SSH?](https://aws.amazon.com/premiumsupport/knowledge-center/ec2-linux-ssh-troubleshooting/)\n  - [Page: General FAQs](https://aws.amazon.com/premiumsupport/knowledge-center/)\n\nPizza Time!\n---------------\n\n###Run the dev environment (local)\n\nYou need to have Docker and docker compose installed and configured on your computer.\n\nTo download/clone the repo and in the project's folder type:\n\n```\ndocker-compose build\n```\n\nThat will build the container. Once it's done run the bellow command to start the DB container:\n\n```\ndocker-compose up db -d\n```\n\nNow run these commands to configure the database and load the initial data:\n\n```\ndocker-compose run web python manage.py migrate\ndocker-compose run web python manage.py loaddata initial_data\n```\n\nNow you are ready to run the app, to start the web server use this command:\n\n```\ndocker-compose up\n```\n\n###Deploying to Elastic Beanstalk\n\nBefore starting you should have the AWS CLI and the EB CLI installed and configured in your machine:\n\n```\npip install awscli\npip install awsebcli\naws configure\n```\n\n\n- Create the RDS database\n- Create a new application on Elastic Beanstalk (EB)\n- Create a new environment inside the EB application, make sure that you will use Python 2.7\n- Download this repo\n- Change the Environment Variables in the [django.config](/.ebextensions/django.config) file\n- Open a terminal inside the the repo's folder\n- Type the bellow command to configure the EB environment in your repo and follow the wizard\n```\neb init\n```\n- Type the bellow commands to stage your changes and deploy the app to EB\n```\ngit add .\neb deploy --staged\n```\n\n###Deploying API instances\n\nTake a look at the [install-pizza-time.sh](/scripts/install-pizza-time.sh) script an make the needed changes in the Environment Variables to point to your database instance. Then use the script as the User Data script in your instances or Launch configuration.\n\n###Angular app\n\nThe Angular files are available at the [Frontend](/frontend) folder, make sure that you will change the variable called \"$rootScope.APIURL\" in the [main.js](/frontend/static/js/main.js) file to point to your API endpoint.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fpizza-time","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudacademy%2Fpizza-time","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudacademy%2Fpizza-time/lists"}