Вы находитесь на странице: 1из 2

install CMS

Windows PowerShell
Copyright (C) 2013 Microsoft Corporation. All rights reserved.

PS C:\Windows\system32> npm install apostrophe-cli -g


C:\Users\DELL\AppData\Roaming\npm\apostrophe ->
C:\Users\DELL\AppData\Roaming\npm\node_modules\apostrophe-cli\bin\apostr
ophe
C:\Users\DELL\AppData\Roaming\npm\apos ->
C:\Users\DELL\AppData\Roaming\npm\node_modules\apostrophe-cli\bin\apostrophe
+ apostrophe-cli@2.1.5
added 36 packages in 4.437s
PS C:\Windows\system32> cd D:
PS D:\> mkdir Apostrophe

Directory: D:\

Mode LastWriteTime Length Name


---- ------------- ------ ----
d---- 3/8/2018 6:23 AM Apostrophe

PS D:\> cd .\Apostrophe
PS D:\Apostrophe> mkdir mongo
PS D:\Apostrophe> apostrophe create-project demo

Apostrophe create-project Grabbing the boilerplate from Github [1/2]


Cloning into 'demo'...

Apostrophe create-project Setting up your project shortname [2/2]


PS D:\Apostrophe> dir

Directory: D:\Apostrophe

Mode LastWriteTime Length Name


---- ------------- ------ ----
d---- 3/8/2018 6:24 AM demo

PS D:\Apostrophe> cd demo
PS D:\Apostrophe\demo> npm install
npm WARN deprecated coffee-script@1.12.7: CoffeeScript on NPM has moved to
"coffeescript" (no hyphen)

> typechecker@2.0.8 preinstall


D:\Apostrophe\demo\node_modules\extract-opts\node_modules\typechecker

Page 1
install CMS
> node ./cyclic.js

> typechecker@2.0.8 preinstall


D:\Apostrophe\demo\node_modules\extendr\node_modules\typechecker
> node ./cyclic.js

npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3
(node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for
fsevents@1.1.3: wanted {"os":"darwin","arch":"any
"} (current: {"os":"win32","arch":"x64"})

added 459 packages in 82.359s


PS D:\Apostrophe\demo> node app.js apostrophe-users:add admin admin
WARNING: No session secret provided, please set the `secret` property of the
`session` property of the apostrophe-expres
s module in app.js
prompt: password:
PS D:\Apostrophe\demo> node app.js
WARNING: No session secret provided, please set the `secret` property of the
`session` property of the apostrophe-expres
s module in app.js
I see no data/port file, port option, forcePort option, or PORT environment
variable, defaulting to port 3000
I see no data/address file, address option, forceAddress option, or ADDRESS
environment variable, listening on all inter
faces
Listening at http://localhost:3000
PS D:\Apostrophe\demo>

Page 2

Вам также может понравиться