readme
This commit is contained in:
parent
b89a1103b9
commit
56ff5d0c06
1 changed files with 12 additions and 12 deletions
24
README.md
24
README.md
|
@ -8,12 +8,12 @@ This project is currently in the early stages of development! It will definitely
|
|||
2. `$ npm install`
|
||||
3. Install MongoDB and make sure it is running
|
||||
4. Create a file called `.env` in the root of this directory that looks like
|
||||
```bash
|
||||
MONGO_URL=mongodb://localhost:27017/p5js-web-editor
|
||||
PORT=8000
|
||||
SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production
|
||||
```
|
||||
Or, if you don't want to do that, just ask me to send you mine.
|
||||
```bash
|
||||
MONGO_URL=mongodb://localhost:27017/p5js-web-editor
|
||||
PORT=8000
|
||||
SESSION_SECRET=whatever_you_want_this_to_be_it_only_matters_for_production
|
||||
```
|
||||
Or, if you don't want to do that, just ask me to send you mine.
|
||||
5. `$ npm start`
|
||||
6. Navigate to (http://localhost:8000)[http://localhost:8000] in your browser
|
||||
7. Install the [React Developer Tools](https://chrome.google.com/webstore/detail/react-developer-tools/fmkadmapgofadopljbjfkapdkoienihi?hl=en).
|
||||
|
@ -24,12 +24,12 @@ Or, if you don't want to do that, just ask me to send you mine.
|
|||
2. `$ npm install`
|
||||
3. Install MongoDB and make sure it is running
|
||||
4. Create a file called `.env` in the root of this directory that looks like
|
||||
```bash
|
||||
MONGO_URL=mongodb://localhost:27017/p5js-web-editor
|
||||
PORT=8000
|
||||
SESSION_SECRET=make_this_a_long-random_string_like_maybe_126_characters_long
|
||||
```
|
||||
Or, if you don't want to do that, just ask me to send you mine.
|
||||
```bash
|
||||
MONGO_URL=mongodb://localhost:27017/p5js-web-editor
|
||||
PORT=8000
|
||||
SESSION_SECRET=make_this_a_long-random_string_like_maybe_126_characters_long
|
||||
```
|
||||
Or, if you don't want to do that, just ask me to send you mine.
|
||||
5. `$ npm run build`
|
||||
6. `$ npm run start:prod`
|
||||
|
||||
|
|
Loading…
Reference in a new issue