-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into daemon/#174-websockets
- Loading branch information
Showing
6 changed files
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
Inertiad is Inertia's daemon component. | ||
This service runs in the background on your remote VPS and allows you to monitor | ||
and control your deployed application. | ||
Even though it is built as command line application, inertiad not intended for | ||
direct use - the Inertia daemon is supposed to be deployed as a Docker container, | ||
the image for which can be found here: | ||
https://hub.docker.com/r/ubclaunchpad/inertia/ | ||
When used, however, it offers two main commands: | ||
inertiad token # generates and outputs a JWT in stdout | ||
inertiad run # starts daemon service | ||
*/ | ||
package main |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
/* | ||
Inertia is the command line interface that helps you set up your remote for | ||
continuous deployment and allows you to manage your deployment through | ||
configuration options and various commands. | ||
It can be installed in several ways: | ||
# Mac users | ||
brew install ubclaunchpad/inertia | ||
# Windows users | ||
scoop bucket add ubclaunchpad https://github.com/ubclaunchpad/scoop-bucket | ||
scoop install inertia | ||
Users of other platforms can install the Inertia CLI from the Releases page, | ||
found here: https://github.com/ubclaunchpad/inertia/releases/latest | ||
To help with usage, most relevant documentation can be seen by using the --help | ||
flag on any command: | ||
inertia --help | ||
inertia init --help | ||
inertia [REMOTE] up --help | ||
Documentation can also be triggered by simply entering a command without the | ||
prerequisite arguments or additional commands: | ||
inertia remote # documentation about remote configuration | ||
Inertia has two "core" sets of commands - one that primarily handles local | ||
configuration, and one that allows you to control your remote VPS instances and | ||
their associated deployments. | ||
For local configuration, most commands will build off of the root "inertia ..." | ||
command. For example, a typical set of commands to set up a project might look | ||
like: | ||
inertia init # initiates Inertia configuration | ||
inertia remote add my_cloud # adds configuration for a remote VPS instance | ||
The other set of commands are based on a remote VPS configuration, and the | ||
available commands can be seen by running: | ||
inertia [REMOTE] --help | ||
In the previous example, the next steps to set up a deployment might be: | ||
inertia my_cloud init # bootstraps remote and installs Inertia daemon | ||
inertia my_cloud up # deploys your project | ||
Some of these commands offer a --stream flag that allows you to view realtime | ||
log feedback from the daemon. | ||
More documentation on Inertia, how it works, and how to use it can be found | ||
in the project repository: https://github.com/ubclaunchpad/inertia/tree/master | ||
*/ | ||
package main |