Skip to content
The easiest way to develop and deploy multi-service software.
Go Shell PowerShell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
scripts
testblobs
.gitignore
DESIGN.md
LICENSE
README.cli
VERSION
django.go
express.go
flask.go
genDocker.go
genNginx.go
installX_test.go
main.go
misc_darwin.go
misc_linux.go
misc_windows.go
parseNewSubCommand_test.go
proxy.go
rails.go
react.go
readFile_linux_test.go
readFile_test.go
sinatra.go
smartEnv_test.go
unknownCommand_test.go
updateEnv_test.go
writeFile_linux_amd64_test.go
writeFile_test.go

README.cli

burrows@envy:~/go/src/local-compose$ ./local-compose new highlife express
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN express0@0.0.1 No description
npm WARN express0@0.0.1 No repository field.
npm WARN express0@0.0.1 No license field.

added 50 packages from 37 contributors and audited 126 packages in 0.851s
found 0 vulnerabilities

burrows@envy:~/go/src/local-compose$ cd highlife/
burrows@envy:~/go/src/local-compose/highlife$ ps
  PID TTY          TIME CMD
 6344 pts/3    00:00:00 ps
12434 pts/3    00:00:07 bash
burrows@envy:~/go/src/local-compose/highlife$ ../local-compose status
express0: not running
burrows@envy:~/go/src/local-compose/highlife$ ../local-compose start
*
*  The express server started successfully.
*  The PID is 6357.
*  Try, `curl -X GET http://127.0.0.1:10500/`.
burrows@envy:~/go/src/local-compose/highlife$ ps
  PID TTY          TIME CMD
 6357 pts/3    00:00:00 node
 6358 pts/3    00:00:00 local-compose
 6371 pts/3    00:00:00 ps
12434 pts/3    00:00:07 bash
burrows@envy:~/go/src/local-compose/highlife$ ../local-compose status
express0: running, pid=6357
burrows@envy:~/go/src/local-compose/highlife$ curl -X GET http://127.0.0.1:10500
Hello World
burrows@envy:~/go/src/local-compose/highlife$ curl -X GET http://127.0.0.1:1200
Hello World
burrows@envy:~/go/src/local-compose/highlife$ ../local-compose stop
express0 service [6357] stopped
burrows@envy:~/go/src/local-compose/highlife$ ../local-compose status
express0: not running


Kitchen Sink:
local-compose new alltest -react spa / -express eapi /eapi/ -django dapi /dapi/ -flask fapi /fapi/ -rails rapi /rapi/ -sinatra sapi /sapi/
You can’t perform that action at this time.