{"id":24990318,"url":"https://github.com/fan9704/web_album","last_synced_at":"2026-04-28T22:32:00.532Z","repository":{"id":40416519,"uuid":"411143979","full_name":"fan9704/web_album","owner":"fan9704","description":"small web album","archived":false,"fork":false,"pushed_at":"2023-02-16T07:56:58.000Z","size":3917,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-04T13:41:00.701Z","etag":null,"topics":["appengine","appengine-python","cloudsql","django","gcp","google-cloud-platform"],"latest_commit_sha":null,"homepage":"","language":"Python","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/fan9704.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-09-28T05:05:10.000Z","updated_at":"2023-02-13T05:23:22.000Z","dependencies_parsed_at":"2025-02-04T13:45:58.215Z","dependency_job_id":null,"html_url":"https://github.com/fan9704/web_album","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/fan9704%2Fweb_album","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fweb_album/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fweb_album/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fan9704%2Fweb_album/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fan9704","download_url":"https://codeload.github.com/fan9704/web_album/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246187210,"owners_count":20737459,"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":["appengine","appengine-python","cloudsql","django","gcp","google-cloud-platform"],"created_at":"2025-02-04T13:35:28.396Z","updated_at":"2026-04-28T22:31:55.486Z","avatar_url":"https://github.com/fan9704.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Web Album\n\n## Feature\n\n### View photo in browser\n\n\u003e Everyone without login can access photos for free\n\n![](./doc/viewphoto.png)\n\n### Create and Delete web album\n\n\u003e Only Administrator can do that \n\n![](./doc/createalbum.png)\n\n### Upload new photo\n\n\u003e Only Administrator can do that you can upload at most 5 photos at the same time\n\n\u003e Administrator can give every each of photo description \n\n![](./doc/uploadphoto.png)\n\n## Google Cloud Services Structure\n\n![](./doc/GoogleCloud.png)\n\n## Setup\n\n### Step.1 Google Cloud SQL\n\nCreate PostgreSQL in Cloud SQL\n```shell\n\ngcloud sql instances create postgre \\\n     --activation-policy=ALWAYS \\\n     --database-version=POSTGRES_14 \\\n     --region=asia-east2 \\\n     --tier=db-n1-standard-1\n```\n\nCreate Database in Cloud SQL\n\n```shell\ngcloud sql databases create webalbum --instance postgre\n```\n\nAfter created checking database is alive in your project\n\n```shell\ngcloud sql databases list --instance webalbum\n```\n\nSetup Database Management System root password\n\n```shell=\ngcloud sql users set-password root \\\n     --host=% \\\n     --instance webalbum \\\n     --password=PASSWORD\n```\n\n### Step.2 Google Cloud SQL Proxy\n\nEnter the follow commands in Cloud Shell\n```shell\nwget https://dl.google.com/cloudsql/cloud_sql_proxy.linux.amd64 -O cloud_sql_proxy\nchmod +x cloud_sql_proxy\ncloud_sql_proxy -instances=\u003cYOUR_PROJECT_ID\u003e:us-central1:postgre=tcp:5432\n```\n\n### Step.3 Create App Engine\n\n```shell\ngcloud app create\n```\n\n### Other\n\n#### Run Server as localhost\n\n.env file must create in local project\n\n```dotenv\nDJANGO_SECRET_KEY = \nDEBUG = True\n\nPOSTGRES_DB = \nPOSTGRES_USER = \nPOSTGRES_PASSWORD = \nPOSTGRES_DB_URL = \n\nGAE_APPLICATION = False\n```\n\n**Note:**\n\n1. Google App Engine not support pipenv don,t use pipenv to manage your dependencies","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fweb_album","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffan9704%2Fweb_album","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffan9704%2Fweb_album/lists"}