diff options
author | Amine Mouafik <amine@mouafik.fr> | 2020-03-09 19:59:15 +0100 |
---|---|---|
committer | Amine Mouafik <amine@mouafik.fr> | 2020-03-09 19:59:15 +0100 |
commit | 668c6e6caf0b28b962f6e0158fc3d5fc30f3fa05 (patch) | |
tree | ea3bdd80688026c77ca84055c93ea0c33c1e4365 /README.md | |
parent | Document starting dev app with misty and debug (diff) | |
download | ferdium-app-668c6e6caf0b28b962f6e0158fc3d5fc30f3fa05.tar.gz ferdium-app-668c6e6caf0b28b962f6e0158fc3d5fc30f3fa05.tar.zst ferdium-app-668c6e6caf0b28b962f6e0158fc3d5fc30f3fa05.zip |
Revert misty changes while keeping debug doc
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 11 |
1 files changed, 9 insertions, 2 deletions
@@ -189,13 +189,20 @@ $ npm run rebuild | |||
189 | 189 | ||
190 | ### Start development app | 190 | ### Start development app |
191 | 191 | ||
192 | We use [misty](https://github.com/adlk/misty) (see [misty.yml](https://github.com/getferdi/ferdi/blob/develop/misty.yml)) and [debug](https://github.com/visionmedia/debug): | 192 | Run these two commands **simultaneously** in different terminals: |
193 | |||
194 | ```bash | ||
195 | $ npm run dev | ||
196 | $ DEBUG=Ferdi:* npm run start | ||
197 | ``` | ||
198 | |||
199 | Optionally, you can run both commands in one terminal with [misty](https://github.com/adlk/misty) (see [misty.yml](https://github.com/getferdi/ferdi/blob/develop/misty.yml)): | ||
193 | 200 | ||
194 | ```bash | 201 | ```bash |
195 | $ DEBUG=Ferdi:* npx misty | 202 | $ DEBUG=Ferdi:* npx misty |
196 | ``` | 203 | ``` |
197 | 204 | ||
198 | Be aware that the development database will be reset regularly. | 205 | Note: please prefer [`debug()`](https://github.com/visionmedia/debug) over `console.log()`. |
199 | 206 | ||
200 | ### Packaging | 207 | ### Packaging |
201 | 208 | ||