Best practices for modern web development
Welcome to the new WebFundamentals! An effort to showcase best practices and tools for modern Web Development.
If you have a high-bandwidth connection, I recommend starting with a fresh clone of the repo.
git clone https://github.com/google/WebFundamentals.git
Login to Google Cloud via command line.
npm install(needed for the build process)
Some files (contributors includes, some pages for updates, showcases, etc.) are automatically generated. The first time you clone the repo and run
npm install, this is done for you. However, when you add a case study, update, etc., you'll need to re-build those files using:
npm run build
To view the site locally, just run:
Note: The first time you start the server, you may need to run
start-appengine.shand answer any prompts provided by
claattool and place it in your
npm startin the terminal.
Please run your changes through npm test before submitting a PR. The test looks for things that may cause issues with DevSite and tries to keep our content consistent. It's part of the deployment process, so PRs will fail if there are any errors! To run: