Commit f6cdeaad authored by Paschalis Korosoglou's avatar Paschalis Korosoglou

Core readme fixes

parent 796cb09a
......@@ -48,13 +48,13 @@ token = your-okeanos-token
```
- Install required packages `pip install -r requirements.txt`
- Install package using `python setup.py install`
- Install required packages. Within the `core` directory execute `sudo pip install -r requirements.txt`.
- Install package using `sudo python setup.py install`
## 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__":
parser.add_argument('--cloud', type=str, dest="cloud", default="lambda")
parser.add_argument('--project-name', type=str, dest="project_name",
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('--vcpus_master', type=int, dest='vcpus_master', default=4)
......@@ -61,8 +60,6 @@ if __name__ == "__main__":
manager.run_playbook(playbook_file=script_path + "/../../ansible/playbooks/cluster-install.yml")
# INSERT PLAYBOOKS HERE
manager.cleanup()
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