diff options
| author | Monty Taylor <mordred@inaugust.com> | 2018-08-23 22:25:49 -0500 |
|---|---|---|
| committer | Monty Taylor <mordred@inaugust.com> | 2018-08-23 22:29:30 -0500 |
| commit | 316b02fbe347dc2d6fb41672e9927bbbf3e4c514 (patch) | |
| tree | 4d782214498e7163da36c1aa34b9459caf62b764 /README.rst | |
| parent | 1f40de78d19e97f2b52446becbddb59a77516d15 (diff) | |
Update to yarn
Diffstat (limited to 'README.rst')
| -rw-r--r-- | README.rst | 17 |
1 files changed, 10 insertions, 7 deletions
| @@ -7,19 +7,22 @@ http://inaugust.com/talks | |||
| 7 | Building | 7 | Building |
| 8 | -------- | 8 | -------- |
| 9 | 9 | ||
| 10 | First, you will need node and npm. | 10 | First, you will need `yarn`_. |
| 11 | :: | ||
| 12 | |||
| 13 | apt-get install nodejs nodejs-legacy npm | ||
| 14 | 11 | ||
| 15 | The following commands will get you started: | 12 | The following commands will get you started: |
| 16 | :: | 13 | :: |
| 17 | # This will install miscellaneous runtime dependencies. | 14 | # This will install miscellaneous runtime dependencies. |
| 18 | npm install | 15 | yarn install |
| 19 | 16 | ||
| 20 | # This will create a local webhost, serving all of your presentations. | 17 | # This will create a local webhost, serving all of your presentations. |
| 21 | # It will autodetect changes and refresh any applicable pages. | 18 | # It will autodetect changes and refresh any applicable pages. |
| 22 | npm start | 19 | yarn start |
| 20 | |||
| 21 | # This will build the content in the ``dist`` directory | ||
| 22 | yarn run package | ||
| 23 | 23 | ||
| 24 | # This will construct your current presentations, and rsync them | 24 | # This will construct your current presentations, and rsync them |
| 25 | npm run release | 25 | yarn run release |
| 26 | |||
| 27 | |||
| 28 | .. _yarn: https://yarnpkg.com/en/docs/install | ||
