Skip to content

Commit

Permalink
./start function now installs dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
phoebe-leong committed Dec 7, 2024
1 parent 15634bd commit e9aefd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,4 @@ This platform will hopefully grow to be usable, but is currently in it's most pr

## installation
1. First, download [NodeJS](https://nodejs.org/en) if you don't already have it. This will install the NPM package manager as well.
2. Run ``npm i`` in the project's directory Terminal. This installs all the dependencies that the server needs to run.
3. To start up the server, enter ``node server.js`` into the Terminal or ``./start``, also in the project directory. This will start running the server code file.
2. To start up the server, enter ``node server.js`` into the Terminal or ``./start``, also in the project directory. This will start running the server code file, as well as installing any required packages.
1 change: 1 addition & 0 deletions start
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
npm i
node server.js

0 comments on commit e9aefd1

Please sign in to comment.