Skip to content

Commit

Permalink
feat:Separate jvue-front alone
Browse files Browse the repository at this point in the history
  • Loading branch information
terwer committed Aug 28, 2022
1 parent 06cebe3 commit c5e9427
Show file tree
Hide file tree
Showing 62 changed files with 33 additions and 4,577 deletions.
10 changes: 8 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ docker compose up -d --build
```

### custom(for dev)
1. mysql
~~1. mysql~~

```bash
docker compose -f docker-compose-mysql.yml
Expand All @@ -65,14 +65,20 @@ cd ./jvue-server/src/main/java/com/terwergreen/jvueserver
# that's all
```

3. Jvue-front
~~3. Jvue-front~~

```bash
cd ./jvue-front
yarn
yarn dev
```

### Test docker(for dev)

```bash
docker compose -f docker-compose.yml up --build
```

### vercel

1. config
Expand Down
22 changes: 11 additions & 11 deletions docker-compose-with-rds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,17 @@ services:
- ./data/maven/.m2:/root/.m2
- ./data/server/logs:/logs
restart: "no"
jvue-front:
container_name: jvue-front
image: jvue/front:4.0.1
build:
context: .
dockerfile: ./jvue-front/Dockerfile
ports:
- "3000:3000"
environment:
- npm_config_unsafe_perm=true
restart: "no"
# jvue-front:
# container_name: jvue-front
# image: jvue/front:4.0.1
# build:
# context: .
# dockerfile: ./jvue-front/Dockerfile
# ports:
# - "3000:3000"
# environment:
# - npm_config_unsafe_perm=true
# restart: "no"
jvue-artalk:
image: terwer/jvue-artalk:2.1
container_name: jvue-artalk
Expand Down
24 changes: 12 additions & 12 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,20 +47,20 @@ services:
ports:
- "8002:8002"
working_dir: /app
command: mvn clean spring-boot:run -Dspring-boot.run.profiles=docker -DskipTests
command: mvn clean spring-boot:run -Dspring-boot.run.profiles=dev -DskipTests
volumes:
- ./jvue-server:/app
- ./data/maven/.m2:/root/.m2
- ./data/server/logs:/logs
restart: "no"
jvue-front:
container_name: jvue-front
image: jvue/front:4.0.1
build:
context: .
dockerfile: ./jvue-front/Dockerfile
ports:
- "3000:3000"
environment:
- npm_config_unsafe_perm=true
restart: "no"
# jvue-front:
# container_name: jvue-front
# image: jvue/front:4.0.1
# build:
# context: .
# dockerfile: ./jvue-front/Dockerfile
# ports:
# - "3000:3000"
# environment:
# - npm_config_unsafe_perm=true
# restart: "no"
13 changes: 0 additions & 13 deletions jvue-front/.editorconfig

This file was deleted.

31 changes: 0 additions & 31 deletions jvue-front/.eslintrc.js

This file was deleted.

91 changes: 0 additions & 91 deletions jvue-front/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions jvue-front/.prettierrc

This file was deleted.

37 changes: 0 additions & 37 deletions jvue-front/Dockerfile

This file was deleted.

37 changes: 2 additions & 35 deletions jvue-front/README.md
Original file line number Diff line number Diff line change
@@ -1,36 +1,3 @@
# jvue-front
# Notice

> Front module for jvue
## Build Setup

注意:已经兼容node16

```
npm i -g yarn
```

```bash
# install dependencies
$ yarn

# serve with hot reload at localhost:3000
$ yarn dev

# build for production and launch server
$ yarn build
$ yarn start

# generate static project
$ yarn generate
```

## notice

node-sass version policy

[https://github.com/sass/node-sass#node-version-support-policy](https://github.com/sass/node-sass#node-version-support-policy)

this project support **node 16**

For detailed explanation on how things work, checkout [Nuxt.js docs](https://nuxtjs.org).
This moudule is moved to [https://github.com/terwer/jvue-front](https://github.com/terwer/jvue-front)
7 changes: 0 additions & 7 deletions jvue-front/assets/README.md

This file was deleted.

Binary file removed jvue-front/assets/logo-dark.png
Binary file not shown.
Binary file removed jvue-front/assets/logo.png
Binary file not shown.
Binary file removed jvue-front/assets/mp-qrcode.png
Binary file not shown.
Loading

0 comments on commit c5e9427

Please sign in to comment.