Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simplydemo/hello-reactjs
reactjs 지식이 없는 사람에게 가장 처음 시작하는 hello 데모
https://github.com/simplydemo/hello-reactjs
Last synced: about 5 hours ago
JSON representation
reactjs 지식이 없는 사람에게 가장 처음 시작하는 hello 데모
- Host: GitHub
- URL: https://github.com/simplydemo/hello-reactjs
- Owner: simplydemo
- License: apache-2.0
- Created: 2023-10-29T16:19:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-11-02T07:39:14.000Z (about 1 year ago)
- Last Synced: 2024-04-24T12:00:58.792Z (7 months ago)
- Language: JavaScript
- Size: 55.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# hello-reactjs
## build reactjs
```
npm installnpm run build:dev
# for prd
# npm run build:prd
```## build image
```
docker build -t "hello-reactjs:local" -f ./cicd/docker/Dockerfile .
```## run container
```
docker run --rm --name=hello-reactjs -p 8010:80 "hello-reactjs:local"
```## helm
- deploy
```
# helm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1' --dry-run --debughelm upgrade -i hello-reactjs ./cicd/helm-service --set 'image.tag=2310.1'
```- delete
```
helm uninstall hello-reactjs --namespace default
```## Appendix
- [create-react-app](./docs/create-react-app.md)
### docker-hub
- [hello-reactjs](https://hub.docker.com/r/symplesims/hello-reactjs)
```
# pull from hub
docker pull symplesims/hello-reactjs:1.0# run on local
docker run --rm --name=hello-reactjs -p 8010:80 "symplesims/hello-reactjs:1.0"
```### buildx for multiple platform
```
docker buildx build --build-arg "VERSION=2310.3" --build-arg "PROFILE=production" \
--platform linux/amd64,linux/arm64/v8 --tag "hello-reactjs:local" \
--file ./cicd/docker/Dockerfile .
```## helm
### deploy
```
helm plugin install https://github.com/jkroepke/helm-secrets --version v4.5.1
``````
helm secrets upgrade -i hello-reactjs --namespace default --set 'image.tag=2310.1' -f ./cicd/charts/values.yaml ./cicd/charts
```### uninstall
```
helm uninstall hello-reactjs --namespace default
```