Sources of the caipi "minimal" demo
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
App
dump/caipi_demo_wisewildweb_com
libs/moment
static
.gitignore
.npmrc
caipi.conf.json
docker-compose.yml
package.json
readme.md

readme.md

caipi-demo.wisewildweb.com

Add the vhost & start the server to get started !

caipi hosts add

Or Setup

npm i

Then use the cli :

 Usage: caipi [options] [command]


  Commands:

    start [mode]                                 Compile & start the project local / targeted project in (dev|staging|prod) [mode]
    create [project_name] [domain] [target_dir]  Initialise a new project
    build [mode]                                 build [staging|prod]
    server [action] [mode]                       [start|stop|restart] [dev|staging|prod]
    hosts [=list|add|remove] [=local|prod]       Install / remove or list this project's domains in etc/host
    stubs [etty]                                 Save/sync stubs to the db
    dump                                         exec mongodump on the project db
    restore                                      exec mongorestore on the project db
    test                                         Launch the available project tests (todo)
    upgrade                                      Upgrade caipi
    infos                                        Show project infos
    help [cmd]                                   display help for [cmd]

  Options:

    -h, --help     output usage information
    -V, --version  output the version number

Then :

cd test.com
caipi start # start the dev server with live update on http://caipi-demo.wisewildweb.com.local:80
# or 
caipi start staging -p 9090 #  start the "staging" server on http://caipi-demo.wisewildweb.com.local:9090
# or 
caipi start prod #  start the "prod" server on http://caipi-demo.wisewildweb.com:80

More

Refer to https://github.com/CaipiLabs/caipi.git