vendure server 실행하기 / vendure server 2.0 실행하기
vendure 2.0 설치 및 실행
npx @vendure/create@next twin-cat
: 이때 알아서 node_modules 까지 설치가 된다.cd twin-cat
yarn dev
D:\a\prog\real-world-vendure\v2>npx @vendure/create@next twin-cat
Need to install the following packages:
@vendure/create@2.1.0-next.0
Ok to proceed? (y) y
Port 3000 is in use. Please make it available and then re-try.
D:\a\prog\real-world-vendure\v2>npx @vendure/create@next twin-cat
T Let's create a Vendure App ✨ v2.1.0-next.0
|
o Which database are you using?
| Postgres
|
o What's the database host address?
| localhost
|
o What port is the database listening on?
| 5432
|
o What's the name of the database?
| twin-cat
|
o What's the schema name we should use?
| public
|
o What's the database user name?
| myuser
|
o What's the database password?
| mypassword
|
o What identifier do you want to use for the superadmin user?
| superadmin
|
o What password do you want to use for the superadmin user?
| superadmin
|
o Populate with some sample product data?
| yes
|
|
o Created package.json
|
o Successfully installed 7 dependencies
|
o Successfully installed 2 dev dependencies
|
o Generated app scaffold
|
|
o Server successfully initialized and populated
|
o ------------------------------------------------+
| |
| Success! Created a new Vendure server at: |
| |
| |
| D:\a\prog\real-world-vendure\v2\twin-cat |
| |
| |
| We suggest that you start by typing: |
| |
| |
| $ cd twin-cat |
| $ yarn dev |
| |
+---------------------------------------------------+
|
— Happy hacking!
D:\a\prog\real-world-vendure\v2>cd twin-cat
D:\a\prog\real-world-vendure\v2\twin-cat>yarn dev
yarn run v1.22.19
$ concurrently yarn:dev:*
$ ts-node ./src/index.ts
$ ts-node ./src/index-worker.ts
[worker] info 23. 8. 19. 오후 1:04 - [Vendure Worker] Bootstrapping Vendure Worker (pid: 12092)...
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Bootstrapping Vendure Server (pid: 6404)...
[worker] info 23. 8. 19. 오후 1:04 - [Vendure Worker] Vendure Worker is ready
[worker] info 23. 8. 19. 오후 1:04 - [JobQueue] Starting queue: apply-collection-filters
[worker] info 23. 8. 19. 오후 1:04 - [JobQueue] Starting queue: update-search-index
[worker] info 23. 8. 19. 오후 1:04 - [JobQueue] Starting queue: send-email
[server] info 23. 8. 19. 오후 1:04 - [AdminUiPlugin] Creating admin ui middleware (prod mode)
[server] info 23. 8. 19. 오후 1:04 - [AssetServerPlugin] Creating asset server middleware
[server] info 23. 8. 19. 오후 1:04 - [EmailPlugin] Creating dev mailbox middleware
[server] info 23. 8. 19. 오후 1:04 - [RoutesResolver] HealthController {/health}:
[server] info 23. 8. 19. 오후 1:04 - [RouterExplorer] Mapped {/health, GET} route
[server] info 23. 8. 19. 오후 1:04 - [GraphQLModule] Mapped {/shop-api, POST} route
[server] info 23. 8. 19. 오후 1:04 - [GraphQLModule] Mapped {/admin-api, POST} route
[server] info 23. 8. 19. 오후 1:04 - [NestApplication] Nest application successfully started
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] =======================================================
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Vendure server (v2.1.0-next.0) now running on port 3000
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] -------------------------------------------------------
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Shop API: http://localhost:3000/shop-api
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Admin API: http://localhost:3000/admin-api
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Asset server: http://localhost:3000/assets
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Dev mailbox: http://localhost:3000/mailbox
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] Admin UI: http://localhost:3000/admin
[server] info 23. 8. 19. 오후 1:04 - [Vendure Server] =======================================================
댓글 없음:
댓글 쓰기