Address feedback
continuous-integration/drone/push Build was killed
Details
continuous-integration/drone/push Build was killed
Details
This commit is contained in:
parent
6bf9695dfc
commit
eca55f4e2b
|
@ -18,6 +18,7 @@ How to upgrade npm: `npm i -g npm`
|
|||
### Local
|
||||
|
||||
- `npm install` to install project dependencies
|
||||
- `npm run build:images` to optimize images for the first time after cloning
|
||||
- `npm run dev` to run the dev server (http://localhost:3000)
|
||||
|
||||
### Production
|
||||
|
|
|
@ -26,8 +26,8 @@ These contain scripts that run during the CI/CD phase to insert dynamically gene
|
|||
|
||||
The two main scripts that we have today are:
|
||||
|
||||
- `generate-calendar`: to generate an ical file that consumes events using the `/lib` folder - writing the resulting file to `public/events.ics`
|
||||
- `optimize-images`: to optimize images present in the `images` folder and write the optimized images in the `public/images` folder for the website to consume
|
||||
- `generate-calendar` (`npm run build:calendar`): to generate an ical file that consumes events using the `/lib` folder - writing the resulting file to `public/events.ics`
|
||||
- `optimize-images` (`npm run build:images`): to optimize images present in the `images` folder and write the optimized images in the `public/images` folder for the website to consume. You **must run it at least once after cloning** the repository so that you can see all the images during development.
|
||||
|
||||
## <code style="background: #f8cecc;">/lib</code>
|
||||
|
||||
|
|
Loading…
Reference in New Issue