Skip to content

Commit 75e0ab9

Browse files
committed
[#861] Add instructions to install prettier to code editor
1 parent 45ffaa2 commit 75e0ab9

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

developer_docs/installation.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,11 +27,11 @@ _Note_: The installation steps assume you are using a Unix-like shell. If you ar
2727
7. `$ cp .env.example .env`
2828
8. (Optional) Update `.env` with necessary keys to enable certain app behaviors, i.e. add Github ID and Github Secret if you want to be able to log in with Github.
2929
9. Run `$ npm run fetch-examples` to download the example sketches into a user called 'p5'. Note that you need to configure your GitHub Credentials, which you can do by following the [Github API Configuration](#github-api-configuration) section.
30-
31-
10. `$ npm start`
32-
11. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
33-
12. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
34-
13. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
30+
10. Enable Prettier in your text editor by following [this guide](https://prettier.io/docs/en/editors.html).
31+
11. `$ npm start`
32+
12. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
33+
13. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
34+
14. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
3535

3636
## Docker Installation
3737

@@ -49,20 +49,20 @@ Note that this takes up a significant amount of space on your machine. Make sure
4949
4. `$ cp .env.example .env`
5050
5. (Optional) Update `.env` with necessary keys to enable certain app behavoirs, i.e. add Github ID and Github Secret if you want to be able to log in with Github.
5151
6. `$ docker-compose -f docker-compose-development.yml run --rm app npm run fetch-examples` - note that you need to configure your GitHub Credentials, which you can do by following the [Github API Configuration](#github-api-configuration) section.
52-
52+
7. Enable Prettier in your text editor by following [this guide](https://prettier.io/docs/en/editors.html).
5353

5454
Now, anytime you wish to start the server with its dependencies, you can run:
5555

56-
7. `$ docker-compose -f docker-compose-development.yml up`
57-
8. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
56+
8. `$ docker-compose -f docker-compose-development.yml up`
57+
9. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
5858

5959
To open a terminal/shell in the running Docker server (i.e. after `docker-compose up` has been run):
6060

61-
9. `$ docker-compose -f docker-compose-development.yml exec app bash -l`
61+
10. `$ docker-compose -f docker-compose-development.yml exec app bash -l`
6262

6363
If you don't have the full server environment running, you can launch a one-off container instance (and have it automatically deleted after you're done using it):
6464

65-
10. `$ docker-compose -f docker-compose-development.yml run app --rm bash -l`
65+
11. `$ docker-compose -f docker-compose-development.yml run app --rm bash -l`
6666

6767
## S3 Bucket Configuration
6868

0 commit comments

Comments
 (0)