MDN's next fr(ont)e(n)d.
- Install dependencies
npm install
- In one terminal window, start the backend:
- Run
CONTENT_ROOT=../content/files npm run rari serve
- Where
CONTENT_ROOT
points to the location of the mdn/content files.
- In another terminal window, start the frontend:
- Run local dev server
npm run dev
- Open
http://localhost:3000/en-US/
to see the homepage
Note
If you already have another local server running on port 3000, fred will use the next available port (e.g. 3001).