Git Product home page Git Product logo

dotcom-rendering's Introduction

We're hiring!

Ever thought about joining us? https://workforus.theguardian.com/careers/product-engineering/

Dotcom/Apps Rendering

This repository contains the rendering logic for articles on theguardian.com. It is a monorepo with 2 projects, apps-rendering and dotcom-rendering.

Developer setup

Install Node.js.

We recommend using fnm. It is great at managing multiple versions of Node.js on one machine.

Install Yarn 1 (Classic).

Install

Run yarn in the root directory of this project to install packages.

Run

You should always cd into the correct subdirectory before running commands (e.g make dev for dotcom-rendering, or yarn watch for apps-rendering) except for storybook.

apps rendering

Go to apps rendering for more details.

dotcom rendering

Go to dotcom rendering for more details.

Root actions

Most commands are run from within each project but the following are managed from the monorepo root:

Storybook/Chromatic

yarn storybook - Runs Storybook for all projects yarn build-storybook - Builds Storybook for all projects

Chromatic now runs at project level. cd into the project dir and run yarn chromatic -t [CHROMATIC PROJECT TOKEN]

You can find the token in the project Chromatic instance.

To run Chromatic in CI on your pr, add the run_chromatic label once you're ready to check for visual regressions.

dotcom-rendering's People

Contributors

oliverlloyd avatar webb04 avatar mxdvl avatar dependabot[bot] avatar gtrufitt avatar nicl avatar jamieb-gu avatar ollyscoding avatar joecowton1 avatar shtukas avatar liywjl avatar sndrs avatar siadcock avatar abeddow91 avatar ghaberis avatar ashcorr avatar arelra avatar marsavar avatar marjisound avatar chrislomaxjones avatar dskamiotis avatar nitro-marky avatar danielcliftonguardian avatar bryophyta avatar dblatcher avatar ioannakok avatar tomrf1 avatar aware avatar buck06191 avatar tjmw avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.