Update readme and start script

This commit is contained in:
Panayiotis Lipiridis 2020-03-12 00:24:58 +02:00
parent 123b2ea4e0
commit 313425537a
2 changed files with 10 additions and 12 deletions

View File

@ -1,29 +1,27 @@
# excalidraw-room # excalidraw-room
The backend for collaboration in [Excalidraw](https://excalidraw.com).
## Requirements ## Requirements
- [Node.js](https://nodejs.org/en/) - [Node.js](https://nodejs.org/)
- [Google Cloud SDK](https://cloud.google.com/sdk/?hl=en_US) - [Google Cloud SDK](https://cloud.google.com/sdk/)
## Install ## Install dependencies
``` ```
yarn yarn
``` ```
## Build ## Run locally
```
yarn build
```
## Run
``` ```
yarn start yarn start
``` ```
## Deploy Visit [`localhost:8080`](http://localhost:8080) to test it.
## Deploy to GCP
Make sure you have access to the [`excalidraw-room`](https://console.cloud.google.com/home/dashboard?project=excalidraw-room) project. Make sure you have access to the [`excalidraw-room`](https://console.cloud.google.com/home/dashboard?project=excalidraw-room) project.

View File

@ -33,7 +33,7 @@
"prepare": "yarn gcp-build", "prepare": "yarn gcp-build",
"pretest": "yarn gcp-build", "pretest": "yarn gcp-build",
"prettier": "prettier \"**/*.{ts,md,json,yaml,yml}\"", "prettier": "prettier \"**/*.{ts,md,json,yaml,yml}\"",
"start": "node ./index.js", "start": "yarn build && node ./index.js",
"test": "yarn prettier --list-different" "test": "yarn prettier --list-different"
}, },
"version": "1.0.0" "version": "1.0.0"