Commit bcf5e42b authored by Ioannis Tsafaras's avatar Ioannis Tsafaras

Merge pull request #3 from pkoro/readme_fixes

Core readme fixes
parents 796cb09a f6cdeaad
...@@ -48,13 +48,13 @@ token = your-okeanos-token ...@@ -48,13 +48,13 @@ token = your-okeanos-token
``` ```
- Install required packages `pip install -r requirements.txt` - Install required packages. Within the `core` directory execute `sudo pip install -r requirements.txt`.
- Install package using `python setup.py install` - Install package using `sudo python setup.py install`
## Usage ## Usage
To create a lambda instance, one must edit the cluster_creator script, to set the requested cluster specs. Then, one must run `python cluster_creator.py`, and the lambda instance will be created automatically To create a lambda instance, one must run `python cluster_creator.py` from within the `core/fokia` directory. To change the default settings (one master instance and one slave instance) one has to edit the `cluster_creator.py` script prior to executing it.
......
...@@ -13,7 +13,6 @@ if __name__ == "__main__": ...@@ -13,7 +13,6 @@ if __name__ == "__main__":
parser.add_argument('--cloud', type=str, dest="cloud", default="lambda") parser.add_argument('--cloud', type=str, dest="cloud", default="lambda")
parser.add_argument('--project-name', type=str, dest="project_name", parser.add_argument('--project-name', type=str, dest="project_name",
default="lambda.grnet.gr") default="lambda.grnet.gr")
parser.add_argument('--name', type=str, dest='name', default="to mikro debian sto livadi")
parser.add_argument('--slaves', type=int, dest='slaves', default=1) parser.add_argument('--slaves', type=int, dest='slaves', default=1)
parser.add_argument('--vcpus_master', type=int, dest='vcpus_master', default=4) parser.add_argument('--vcpus_master', type=int, dest='vcpus_master', default=4)
...@@ -61,8 +60,6 @@ if __name__ == "__main__": ...@@ -61,8 +60,6 @@ if __name__ == "__main__":
manager.run_playbook(playbook_file=script_path + "/../../ansible/playbooks/cluster-install.yml") manager.run_playbook(playbook_file=script_path + "/../../ansible/playbooks/cluster-install.yml")
# INSERT PLAYBOOKS HERE
manager.cleanup() manager.cleanup()
provisioner_duration = provisioner_time - start_time provisioner_duration = provisioner_time - start_time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment