diff options
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 22 |
1 files changed, 17 insertions, 5 deletions
@@ -1,17 +1,29 @@ -# Prerequisites : +# Local +## Prerequisites : - Node v12 (or higher): `brew install node` - Yarn: `brew install yarn` -# Installation : +## Installation : - Clone the repo. - Run `yarn install` -# Development : +## Development : - Run `yarn start` -# Build : +## Build : - Run `yarn build` -# Deploy : +## Deploy : - Run `yarn build` - Copy the generated `public` directory to any hosting environment. (`srht.site`) + +# Docker +## Prerequisites: +- Docker: `brew install docker` + +## Build +- Run `docker build . -t website` +- Run `docker run -p 3333:3333 -it website` +or +- Run `docker-compose build` +- Run `docker-compose up` |
