dropstack-cli v2.8.0
DROPSTACK-CLI
A CLI to simplify continuous deployments into hybrid clouds.
Usage
Install the package globally:
npm install -g dropstack-cli
Help
dropstack --help
Just enter dropstack deploy
in the folder you want to deploy or look at our dropstack examples.
Static Websites
my-web-site/ ls
index.html logo.png
my-web-site/ dropstack deploy
Node.JS
my-nodejs-api/ ls
package.json index.js
my-nodejs-api/ dropstack deploy
Single Page Applications
my-spa-app/ ls
index.html bundle.js
my-spa-app/ dropstack deploy
Any Docker enabled folder
my-go-app/ ls
Dockerfile server.go
my-go-app/ dropstack deploy
Exclude folders from deployment
- Manually change your
.dropstack.json
file and add glob pattern to exclude files from deployment
"excludes": [
"databases/*"
]
What DROPSTACK is?
DROPSTACK CLI takes any of your Docker-, NodeJS- or static Web-Sites/Services to the DROPSTACK-Server with ease, speed and reliability. In practical terms, any directory that contains a package.json or Dockerfile can be transported to the DROPSTACK-Server with the single CLI command: dropstack
.
First time you deploy your project, dropstack will provide you with a unique project specific URL (e.g. erkgfjtrna.domain.local
). When it's time to take your deployment to production, you simply pick an appropriate alias (a custom domain).
Get Started
Let's demonstrate how easy deploying a project with dropstack actually is:
Step 1 Install dropstack globally with npm install -g dropstack-cli
Step 2 Create a new directory and switch to it:
mkdir my-webapp
cd my-webapp
Step 3 Write the app configuration into a package.json file...
npm init
Step 4 Run dropstack
to deploy. Every time you run dropstack
in the same folder, you make an updated redeploy. You might see files uploading, and then we show you the progress of the commands executed for deploying your application.
dropstack deploy
The first time you run dropstack
, it'll ask for your email address in order to identify you. Simply click on the email you've received, and you'll be logged in automatically.
Display and parsing the Log-Stream
dropstack logs pboyrkzm | jq -R 'fromjson?|.'
dropstack logs cron-example | jq -R 'fromjson?|.message'
dropstack logs cron-example | jq -R 'fromjson?|.message|fromjson'
Features
- doesn't require you to install certain applications in order to get started
- No need to install git or source control
- No need to setup keys/tokens
- No complicated cloud provider setup or registration
- No setup of applications or projects
- Unlimited
ASAP
- Display metrics as stream
Contributors
Every participation is welcome. Check them out here
Issue Reporting
If you have found a bug or if you have a feature request, please report them at this repository issues section. Please do not report security vulnerabilities on the public GitHub issue tracker.
License
This project is licensed under the MIT license. See the LICENSE file for more info.
Thanks
You like this and you want to see what coming next? Follow me on Twitter @mikebild
.
Enjoy!
6 years ago
6 years ago
6 years ago
6 years ago
6 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago
7 years ago