{"id":22443189,"url":"https://github.com/ukjin1192/web-stack-wiki-and-snippets","last_synced_at":"2025-08-01T18:34:02.928Z","repository":{"id":31611689,"uuid":"35176691","full_name":"ukjin1192/web-stack-wiki-and-snippets","owner":"ukjin1192","description":"Wiki and snippets in web stack architecture (Especially for Django and AWS)","archived":false,"fork":false,"pushed_at":"2019-02-18T14:42:23.000Z","size":1676,"stargazers_count":11,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2023-03-01T18:20:57.439Z","etag":null,"topics":["aws","django","web-development"],"latest_commit_sha":null,"homepage":"","language":"Vim script","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/ukjin1192.png","metadata":{"files":{"readme":"README.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":"2015-05-06T18:45:14.000Z","updated_at":"2022-02-03T19:15:20.000Z","dependencies_parsed_at":"2022-09-06T09:50:15.502Z","dependency_job_id":null,"html_url":"https://github.com/ukjin1192/web-stack-wiki-and-snippets","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukjin1192%2Fweb-stack-wiki-and-snippets","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukjin1192%2Fweb-stack-wiki-and-snippets/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukjin1192%2Fweb-stack-wiki-and-snippets/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ukjin1192%2Fweb-stack-wiki-and-snippets/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ukjin1192","download_url":"https://codeload.github.com/ukjin1192/web-stack-wiki-and-snippets/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228398951,"owners_count":17913704,"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":["aws","django","web-development"],"created_at":"2024-12-06T02:23:00.620Z","updated_at":"2024-12-06T02:23:01.302Z","avatar_url":"https://github.com/ukjin1192.png","language":"Vim script","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web stack architecture\n\n\u003cimg src=\"./architecture.png\" /\u003e\n\n# Contents in this repository\n\n## Ubuntu basic settings\n\n- Install basic packages\n- Set timezone\n- Customize **vim** editor\n- Install **zshell** and oh-my-zshell\n- Install **Fail2ban** to protect from malicious attack\n- Configure **git** setting\n- Install **nginx** *(Recommend version upper than 1.6)*\n- Install **MySQL**\n- Install **PostgreSQL**\n\n#### Mac OS X basic settings\n- Customize **terminal profile**\n- Optimize key input\n- Install **brew**\n\n\n## Django basic settings\n\n- Install django and helpful packages\n- Clone sample django project if exist\n- Connect with **MySQL**\n- Connect with **PostgreSQL**\n- When **schema changed**\n- Use **django-suit** *(Custom admin interface)*\n- Use **django-compressor** *(Compress static files)*\n- Install **redis** and connect with django\n- Use **redisboard** at admin\n- Redis command\n- Install **celery** and connect with django\n- Celery command\n- Use **cerely beat** as cron task runner\n- Celery beat command\n- Install uWSGI and configure **Nginx and uWSGI settings**\n- Nginx command\n- uWSGI command\n- When number of **CPU** core or **memory** size changed\n- Configure **New Relic** settings\n- Install **Pillow** for image processing\n\n\n## Django code snippets\n\n- **Internationalization** *(Localization)*\n- Send **mail** with template\n- Use **redis** to manage in-memory DB\n- Use **celery** to run task asynchronously\n- Use **pillow** to process image\n- Upload image to **cloudinary**\n- Detect **facebook** deauthorization\n- Use **firebase** as realtime DB\n\n\n## Deploy django with Amazon Web Services\n\n- **EC2** *(OS: ubuntu 14.04 LTS)*\n\t- Use fixed IP with **Elastic IPs**\n\t- Load balance with **ELB**(Elastic Load Balancer)\n\t- Adapt SSL ceritificate at **ELB**\n\t- **Auto Scaling Groups** with **Cloud Watch**\n\t- Get access permission with **IAM**(Identity \u0026 Access Management)\n- **Route** 53 *(DNS)*\n- **RDS** *(MySQL)*\n- **ElastiCache** *(Redis)*\n- **S3** *(Storage)*\n- **CloudFront** *(CDN)*\n\n\n## Utilities wiki and snippets\n\n- Deploy with **Fabric**\n- Manage package with **npm**\n- Use **Webpack** as module bundler\n- Use **Gulp** as task runner\n- Use **SASS** for stylesheet\n- Multi browser test by **Selenium grid**\n- Use **Docker** at Mac OS X\n- **MeteorJS** wiki\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukjin1192%2Fweb-stack-wiki-and-snippets","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fukjin1192%2Fweb-stack-wiki-and-snippets","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fukjin1192%2Fweb-stack-wiki-and-snippets/lists"}