diff options
| author | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-13 20:46:22 -0400 |
|---|---|---|
| committer | caleb.mabry.15@cnu.edu <caleb.mabry.15@cnu.edu> | 2022-03-13 20:46:22 -0400 |
| commit | c3767e5a81710634dc3705a1a9f4fc94e1f1d981 (patch) | |
| tree | 5a8bf4d4f263a0c7a27ede52c977340eb5de8a4c /README.md | |
| parent | 29330b3e707d975bfb05024338123f3f131127d5 (diff) | |
Added nvm and dockerfile
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 15 |
1 files changed, 12 insertions, 3 deletions
@@ -17,11 +17,20 @@ Link to the client in this repo: http://web.aceattorneyonline.com/ # Project Setup - Install [Node JS](https://nodejs.org/en/) +- Install nvm | [Windows](https://github.com/coreybutler/nvm-windows) , [Linux](https://github.com/nvm-sh/nvm) -# Running Locally -`npm install` +# Running Locally on Windows +1. Look at the file version in `.nvmrc` and run `nvm use <VERSION NUMBER>` +2. `npm install` +3. `npm run start` -`npm run start` +# Running Locally on Linux +1. `nvm use` +2. `npm install` +3. `npm run start` +# Running with Docker +`docker build -t webao .` +`docker run -d -it -p 8080:8080 webao` |
