commit | e0d934b43647c0433285e0b75e9b8a17fbca363d | [log] [tgz] |
---|---|---|
author | Russ Cox <rsc@golang.org> | Wed May 26 09:45:32 2021 -0400 |
committer | Russ Cox <rsc@golang.org> | Wed Jun 16 18:19:59 2021 +0000 |
tree | b091fb45fc31b51e59c2aa90186f70fae737a4e7 | |
parent | 91e49064155485e54b5d5e01c0064e512880753f [diff] |
cmd/golangorg: simplify, run on App Engine Standard, not Flex This app has been through a lot of evolution and has accumulated a lot of cruft in the way it is deployed. We can simplify deployment down to a short Cloud Build script and go back to regular App Engine for execution. Also remove the prod-vs-local distinction and the build tag complexity. App Engine Flex doesn't let us have extant versions without at least a couple dedicated VMs, and then it also imposes a limit of 20 VMs, which makes it unsuitable for continuous deployment, where we can rack up many versions in a short amount of time. Going back to App Engine Standard is a better fit, since versions that aren't getting traffic scale down to zero. Using App Engine Standard also matches blog and go.dev, which will help with the eventual merging of all these servers. Change-Id: I35167b569327ad253b9d367d747072a269205b20 Reviewed-on: https://go-review.googlesource.com/c/website/+/323892 Trust: Russ Cox <rsc@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org>
This repo holds content and serving programs for the golang.org web site.
Content is in _content/. Server code is in cmd/ and internal/.
To run the server to preview local content changes, use:
go run ./cmd/golangorg
The supporting programs cmd/admingolangorg and cmd/googlegolangorg are the servers for admin.golang.org and google.golang.org. (They do not use the _content/ directory.)
Each command directory has its own README.md explaining deployment.
This repository uses prettier to format JS and CSS files.
The version of prettier
used is 1.18.2.
It is encouraged that all JS and CSS code be run through this before submitting a change. However, it is not a strict requirement enforced by CI.
This repository uses Gerrit for code changes. To learn how to submit changes to this repository, see https://golang.org/doc/contribute.html.
The main issue tracker for the website repository is located at https://github.com/golang/go/issues. Prefix your issue with “x/website:” in the subject line, so it is easy to find.