Metadata-Version: 2.1
Name: starwhale-bootstrap
Version: 0.1.0a26
Summary: MLOps Platform
Home-page: https://github.com/star-whale/starwhale
Author: Starwhale Team
Author-email: developer@starwhale.ai
License: Apache-2.0
Keywords: MLOps AI
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: Free for non-commercial use
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
License-File: LICENSE

- use origin cmd
  - first, install ansible: `pip install ansible`
  - second, edit two hosts file at your machine, 
    - one is /etc/hosts,here is a content example:
      ``` text
       10.131.0.1 agent01.starwhale.com
       10.131.0.2 agent02.starwhale.com storage.starwhale.com controller.starwhale.com
       10.131.0.3 agent03.starwhale.com
       10.131.0.4 agent04.starwhale.com
      ``` 
    - another one is $PWD/hosts,here is a content example:
      ``` text
       [controller]
       controller.starwhale.com 
       [storage] 
       storage.starwhale.com
       [agent]
       agent01.starwhale.com
       agent02.starwhale.com
       agent03.starwhale.com
       agent04.starwhale.com
       ...
      ```
  - then, exec: `ansible-playbook bootstrap.yaml -i hosts --user ${sudoer} --check`
  - finally, exec: `ansible-playbook bootstrap.yaml -i hosts --user {sudoer}` 
- use make cmd
  - `make install`
  - edit the hosts file at your machine,the same with above example
  - `make check {sudoer}`
  - `make play {sudoer}`
- pip upload tutorials
  - https://packaging.python.org/en/latest/tutorials/packaging-projects/
  - https://pip.pypa.io/en/stable/reference/build-system/

