Last active
October 15, 2021 02:15
-
-
Save mrdoob/3879802 to your computer and use it in GitHub Desktop.
Using Google Cloud Storage as web server.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
www.example.com CNAME c.storage.googleapis.com | |
create www.example.com bucket. | |
gsutil setdefacl "public-read" gs://www.example.com | |
gsutil setwebcfg -m index.html -e 404.html gs://www.example.com | |
from the folder with the local copy: | |
gsutil -m cp -r -z html,js,css * gs://www.example.com |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
✨ ❤️ ✨ ✨ ❤️ ✨