Quick demo for mcs-lite-app: mcs-lite-app.now.sh
Note: For demonstration purposes ONLY. The websocket feature do not work on now.sh.
One click deploys to β³ now
Step 1 | Step 2 | Step 3 | Step 4 |
---|---|---|---|
Click button | Add token and use Docker | Get your Url | Building |
You can clone this reporitory and build the docker image locally:
$ git clone https://github.com/MCS-Lite/mcs-lite-app-demo.git
$ docker build -t mcslite/mcs-lite-app .
Or, directly pull the image from Dockerhub:
# Latest
$ docker pull mcslite/mcs-lite-app:latest
# Or, specific version tag
$ docker pull mcslite/mcs-lite-app:1.0.7
$ docker run --rm -it -p 3000:3000 -p 8000:8000 mcslite/mcs-lite-app:1.0.7
# Recommend to use AUTOMATED BUILD
git tag 1.0.x
git push
# Manually
$ docker push mcslite/mcs-lite-app
# Step 1: Deploy
$ now
# Step 2: Setup alias
$ now alias ls
$ now alias
# Step 3: Remove old deploy
$ now ls
$ now rm [url]
# Step 4: [option] scale
$ now scale mcs-lite-app.now.sh 1
- node >= 8.2.1
- npm >= 5.3.0
- yarn >= 0.27.5