You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: developer_docs/installation.md
+11-10Lines changed: 11 additions & 10 deletions
Original file line number
Diff line number
Diff line change
@@ -6,30 +6,31 @@ Follow these instructions to set up your development environment, which you need
6
6
7
7
_Note_: The installation steps assume you are using a Unix-like shell. If you are using Windows, you will need to use `copy` instead of `cp`.
8
8
9
-
1. Install [node.js](https://nodejs.org/download/release/v11.15.0/) version 11.15.0 which also automatically installs the [npm](https://www.npmjs.org) package manager.
9
+
1. Install Node.js. The recommended way is to Node through [nvm](https://github.com/nvm-sh/nvm). You can also install [node.js](https://nodejs.org/download/release/v12.16.1/) version 12.16.1 directly from the Node.js website.
10
10
2.[Fork](https://help.github.com/articles/fork-a-repo) the [p5.js Web Editor repository](https://github.com/processing/p5.js-web-editor) into your own GitHub account.
11
11
3.[Clone](https://help.github.com/articles/cloning-a-repository/) your new fork of the repository from GitHub onto your local computer.
4. Navigate into the project folder and install all its necessary dependencies with npm.
17
+
4. If you are using nvm, run `$ nvm use` to set your Node version to 12.16.1
18
+
5. Navigate into the project folder and install all its necessary dependencies with npm.
18
19
19
20
```
20
21
$ cd p5.js-web-editor
21
22
$ npm install
22
23
```
23
-
5. Install MongoDB and make sure it is running
24
+
6. Install MongoDB and make sure it is running
24
25
* For Mac OSX with [homebrew](http://brew.sh/): `brew tap mongodb/brew` then `brew install mongodb-community` and finally start the server with `brew services start mongodb-community` or you can visit the installation guide here [Installation Guide For MacOS](https://docs.mongodb.com/manual/tutorial/install-mongodb-on-os-x/)
25
26
* For Windows and Linux: [MongoDB Installation](https://docs.mongodb.com/manual/installation/)
26
-
6.`$ cp .env.example .env`
27
-
7. (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.
28
-
8.`$ npm run fetch-examples` - this downloads the example sketches into a user called 'p5'
29
-
9.`$ npm start`
30
-
10. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
31
-
11. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
32
-
12. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
27
+
7.`$ cp .env.example .env`
28
+
8. (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.
29
+
9.`$ npm run fetch-examples` - this downloads the example sketches into a user called 'p5'
30
+
10.`$ npm start`
31
+
11. Navigate to [http://localhost:8000](http://localhost:8000) in your browser
32
+
12. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en)
33
+
13. Open and close the Redux DevTools using `ctrl+h`, and move them with `ctrl+w`
0 commit comments