-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
29 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,30 @@ | ||
# firmament | ||
Perl and bash scripts to create cooperative database and web server docker containers. | ||
Perl and bash scripts to create cooperative database and web server docker containers. | ||
Provides a simplified configuration of interconnected [Docker containers](https://docker.com) | ||
* Provides a straigtforward mechanism to deploy Node Express apps into Docker containers | ||
* Aliases and simplifies common Docker commands to make deploying, linking, and managing Docer containers easier. | ||
* Composed of Node and Bash scripts utilizing API's from Docker, GIT, and Strongloop. | ||
|
||
# How To Get firmament | ||
```Bash | ||
$ wget https://github.com/sotera/firmament/raw/master/install-scripts/prep-ubuntu14.04.sh | ||
$ sudo chmod 700 prep_ubuntu14.04.sh | ||
$ sudo su | ||
$ ./prep_ubuntu14.04.sh | ||
exit | ||
$ git clone https://github.com/Sotera/firmament | ||
$ cd firmament/install-scripts | ||
$ ./prep-client.sh | ||
>> 3 for using vim | ||
$ sudo usermod -aG docker ubuntu | ||
``` | ||
close your terminal and log back in for changes to take effect. | ||
|
||
# Usage | ||
* List available commands ```$ f --help``` | ||
* Firmament pulls required modules as needed or you can get all required modules at once. ```$ f init``` | ||
* Create a template of lined Docker Containers (from ~/firmament). ```$ f m t``` | ||
* Edit the template to create the containers you wish with links to the repositores that host your apps. | ||
* Build the containers. ```$ f m b``` | ||
* Firmament aliases Docker as 'd' | ||
* ```$ docker ps``` == ```$ f d ps``` | ||
* ```$ f d sh 5``` will shell into Docker Container #5 from the ps results. |