squash
This commit is contained in:
parent
b0a78ecaa7
commit
e639176911
|
@ -30,6 +30,11 @@ const config = defineConfig(async (configEnv) => {
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
secure: true,
|
secure: true,
|
||||||
};
|
};
|
||||||
|
proxyConfig["/banners"] = {
|
||||||
|
target: targetBackend,
|
||||||
|
changeOrigin: true,
|
||||||
|
secure: true,
|
||||||
|
};
|
||||||
proxyConfig["/thumbnail"] = {
|
proxyConfig["/thumbnail"] = {
|
||||||
target: targetBackend,
|
target: targetBackend,
|
||||||
changeOrigin: true,
|
changeOrigin: true,
|
||||||
|
|
|
@ -77,4 +77,3 @@ services:
|
||||||
- ./nginx.conf:/etc/nginx/nginx.conf
|
- ./nginx.conf:/etc/nginx/nginx.conf
|
||||||
- ./storage/files:/storage
|
- ./storage/files:/storage
|
||||||
- ./:/app
|
- ./:/app
|
||||||
|
|
||||||
|
|
|
@ -10,7 +10,7 @@ This guide covers setting up a frontend-only development environment on Windows
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
1. Check if Node.js 22.14+ is installed:
|
1. Open your console on the root of the project and check if Node.js 22.14+ is installed:
|
||||||
```
|
```
|
||||||
node --version
|
node --version
|
||||||
```
|
```
|
||||||
|
@ -18,10 +18,15 @@ This guide covers setting up a frontend-only development environment on Windows
|
||||||
|
|
||||||
2. Clone the repository (if you haven't already)
|
2. Clone the repository (if you haven't already)
|
||||||
|
|
||||||
3. Navigate to the client directory and run the development server:
|
3. To setup the configuration, navigate to the client directory and install the necessary packages run the following:
|
||||||
```
|
```
|
||||||
cp config.example.production.json config.json
|
cp config.example.production.json config.json
|
||||||
cd client
|
cd client
|
||||||
|
npm i
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Finally to run the development server run:
|
||||||
|
```
|
||||||
npm run dev
|
npm run dev
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user