Commit 233050de by 한태현

[build] add README

parent 928d5474
# Build directory
## set Build env and install docker image
```
./build-dev.sh
```
## x86
### npm install and npm run build script
```
./build-home-single-x86.sh
```
## arm
### cross build whole process
```
./build-home-single-arm.sh
```
\ No newline at end of file
...@@ -6,12 +6,13 @@ ...@@ -6,12 +6,13 @@
rm -rf ../apps/frontend rm -rf ../apps/frontend
cp -av ../frontend ../apps cp -av ../frontend ../apps
cp -av ../frontend/package*.json ./
rm -rf ../apps/frontend/node_modules
rm -rf ../apps/frontend/node_modules
docker-compose run --name neuro-home-frontend-init \ docker-compose run --name neuro-home-frontend-build \
--rm \ --rm \
--workdir /apps/frontend/ \ --workdir /apps/frontend/ \
base-home-main-ds \ base-home-main-ds \
bash -c "npm install && chown nobody.nogroup ~/.npm " bash -c "npm install && npm run build "
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment