blob: e850d32917edc13887feeae77da1fd389ba76297 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Local
## Prerequisites :
- Node v12 (or higher): `brew install node`
- Yarn: `brew install yarn`
## Installation :
- Clone the repo.
- Run `yarn install`
## Development :
- Run `yarn start`
## Build :
- Run `yarn build`
## 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`
|