The Guardian Dot Com.
Ever thought about joining us? https://workforus.theguardian.com/careers/digital-development/
The Guardian website frontend.
For everybody who engages with our journalism, theguardian.com is an industry-best news website that is fast, accessible and easy to use. Unlike other ways of developing products, ours puts the audience first.
Frontend is a set of Play Framework 2 Scala applications. It is built in two parts, using
makefor the client side asset build and SBT for the Play Framework backend.
masterbranch in the frontend repository has now been renamed to
main. If you work with this repository, there are two things you need to do!
First, you need to make some changes to your local repository. We recommend you run the following sequence of commands, which will rename your master branch to main and set main as your default branch.
git fetch --all git remote set-head origin -a git branch master --set-upstream-to origin/main git branch -m master main
Second, you’ll need to rebase or merge from main on any branch you’ve started working on before the rename. This is because frontend has a pre-push git hook that is hardcoded to look for
origin/master. This has been patched in main, so you’ll need to integrate that change into your branch to be able to push to github.
These principles apply to all requests on
api.nextgen.guardianapps.co.uk(our Ajax URL)
Welcome! The best place to start is here
To get set up, please follow the installation guide.
Fixes for common problems can be found here.
Please read the development tips document to learn about more about development process.
Follow the steps described in the How to deploy document.