mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
chore: update imports
This commit is contained in:
@@ -71,12 +71,6 @@ Run the command that will spin up all the required services and files.
|
|||||||
pnpm run dokploy:setup
|
pnpm run dokploy:setup
|
||||||
```
|
```
|
||||||
|
|
||||||
Build the server package (If you make any changes after in the packages/server folder, you need to rebuild and run this command)
|
|
||||||
|
|
||||||
```bash
|
|
||||||
pnpm run server:build
|
|
||||||
```
|
|
||||||
|
|
||||||
Now run the development server.
|
Now run the development server.
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
|||||||
@@ -3,15 +3,15 @@ import {
|
|||||||
createDefaultServerTraefikConfig,
|
createDefaultServerTraefikConfig,
|
||||||
createDefaultTraefikConfig,
|
createDefaultTraefikConfig,
|
||||||
initializeTraefik,
|
initializeTraefik,
|
||||||
} from "@dokploy/server/dist/setup/traefik-setup";
|
} from "@dokploy/server/setup/traefik-setup";
|
||||||
|
|
||||||
import { setupDirectories } from "@dokploy/server/dist/setup/config-paths";
|
import { setupDirectories } from "@dokploy/server/setup/config-paths";
|
||||||
import { initializePostgres } from "@dokploy/server/dist/setup/postgres-setup";
|
import { initializePostgres } from "@dokploy/server/setup/postgres-setup";
|
||||||
import { initializeRedis } from "@dokploy/server/dist/setup/redis-setup";
|
import { initializeRedis } from "@dokploy/server/setup/redis-setup";
|
||||||
import {
|
import {
|
||||||
initializeNetwork,
|
initializeNetwork,
|
||||||
initializeSwarm,
|
initializeSwarm,
|
||||||
} from "@dokploy/server/dist/setup/setup";
|
} from "@dokploy/server/setup/setup";
|
||||||
(async () => {
|
(async () => {
|
||||||
try {
|
try {
|
||||||
setupDirectories();
|
setupDirectories();
|
||||||
|
|||||||
@@ -9,6 +9,10 @@
|
|||||||
"import": "./src/db/index.ts",
|
"import": "./src/db/index.ts",
|
||||||
"require": "./dist/db/index.cjs.js"
|
"require": "./dist/db/index.cjs.js"
|
||||||
},
|
},
|
||||||
|
"./setup/*": {
|
||||||
|
"import": "./src/setup/*.ts",
|
||||||
|
"require": "./dist/setup/index.cjs.js"
|
||||||
|
},
|
||||||
"./dist": {
|
"./dist": {
|
||||||
"import": "./dist/index.js",
|
"import": "./dist/index.js",
|
||||||
"require": "./dist/index.cjs.js"
|
"require": "./dist/index.cjs.js"
|
||||||
|
|||||||
Reference in New Issue
Block a user