Do not use this repository if you are not upamune.
- Python 3.6.10
- Pipenv
- Add SSH Keys in web console
- Generate a personal access token in web console
- (optional) Add a firewall in web console
- (optional) Add a floating IP in web console
Idempotently by name. Default name is remote-workstation
.
--token
- required
--firewall-id
- optional
--floating-ip
- optional
--snapshot-id
- optional
# Create an instance.
$ python ./main.py create --token "${DIGITAL_OCEAN_API_KEY}" --firewall-id "${FIREWALL_ID}" --floating-ip "${FLOATING_IP}"
# Create an instance from snapshot.
$ python ./main.py create --token "${DIGITAL_OCEAN_API_KEY}" --firewall-id "${FIREWALL_ID}" --floating-ip "${FLOATING_IP}" --snapshot-id "${SNAPSHOT_ID}"
$ python ./main.py destroy --token "${DIGITAL_OCEAN_API_KEY}"
pipenv sync
pipenv shell
pipenv run format
pipenv run lint