Skip to content

mandrej/andsnews

Repository files navigation

README

  • This is personal site for photos
  • Built using Google App Engine and python 3.8

Set up virtualenv

  • Install python 3.8, virtualenv, pip and Google App Engine SDK
  • Create virtualenv, activate it and install requirements

Google requirements

Firebase requirements

  • Go to Firebase Console using same Google account
  • Choose application for firebase support
  • Copy credentials for web app
  • Pick menu Overview, Project settings, General, Cloud Messaging
  • Copy Server key and Sender ID

Client requirements

  • Go to vue3/
  • yarn install

Google Cloud storage

make public access

Bucket, Edit bucket premission, ADD MEMBER:

allusers: Storage Object Viewer

add cache-control

$> export BUCKET=andsnews.appspot.com
$> gsutil -m setmeta -h "Cache-Control:public, max-age=86400" gs://$BUCKET/*.jpg

Deployment on Google infrastructure

$> ./ands devel
$> ./ands icons
$> ./ands build
$> ./ands serve
$> ./ands deploy

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published