-
Notifications
You must be signed in to change notification settings - Fork 47
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add multiple boto profile management * Add data validators * Add personalized exceptions * Update all parsers * Remove obsolete code * Update cfg file * Fix a ton of bugs * Update Dockerfile * Simplify code in in almost all classes * Update log file path
- Loading branch information
Alfonso Pérez
authored
Jul 19, 2018
1 parent
06cf24a
commit 0581118
Showing
39 changed files
with
1,482 additions
and
1,211 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 |
---|---|---|
|
@@ -4,3 +4,4 @@ test/*.zip | |
*.pyc | ||
*.zip* | ||
*.log | ||
.settings |
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 |
---|---|---|
@@ -1,28 +1,23 @@ | ||
Installation | ||
============ | ||
|
||
1) SCAR requires python3, first make sure you have python3 available in your system | ||
1) SCAR requires python3, pip3 and a configured AWS credentials file in your system. | ||
More info about the AWS credentials file can be found `here <https://docs.aws.amazon.com/cli/latest/userguide/cli-config-files.html>`_. | ||
|
||
2) Clone the GitHub repository:: | ||
|
||
git clone https://github.com/grycap/scar.git | ||
cd scar | ||
|
||
3) Install the required dependencies: | ||
3) Install the python required dependencies automatically with the command:: | ||
|
||
* `zip <https://linux.die.net/man/1/zip>`_ (linux package) | ||
* `Boto3 <https://pypi.org/project/boto3/>`_ (v1.4.4+ is required) | ||
* `Tabulate <https://pypi.python.org/pypi/tabulate>`_ | ||
* `Requests <https://pypi.org/project/requests/>`_ | ||
sudo pip3 install -r requirements.txt | ||
|
||
You can automatically install the python dependencies by issuing the following command:: | ||
The last dependency needs to be installed using the apt manager:: | ||
sudo apt install zip | ||
|
||
sudo pip install -r requirements.txt | ||
|
||
The zip package can be installed using apt:: | ||
|
||
sudo apt install zip | ||
|
||
|
||
4) (Optional) Define an alias for increased usability:: | ||
4) (Optional) Define an alias for easier usability:: | ||
|
||
alias scar='python3 `pwd`/scar.py' |
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 |
---|---|---|
|
@@ -2,3 +2,4 @@ boto3 | |
tabulate | ||
configparser | ||
requests | ||
pyyaml |
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
Oops, something went wrong.