- Latest OpenTofu. Use
brew
for installation. Or standalone installer. - rsync
- fswatch
- Set the
login
andpassword
in the .netrc file with your Github user and token - Set the
GITHUB_TOKEN
,DOCKER_USERNAME
andDOCKER_PASSWORD
in the .bashrc file
Edit the terraform.tfvars
file and adjust owner, instance_type and iam_instance_profile values.
Make sure to refresh AWS credentials before running the following command.
make create
The command will output the public dns of the machine as well as an SSH connection string. It is recommended to use tmux to prevent commands from failing due to connection.
Adjust the TARGET_REPO
variable in the Makefile to set the local path the target repository.
The local changes will be synchronized to the remote dev instance automatically.
To copy the repo to the remote instance and start the watcher:
make sync-repo
make connect
To install Kommander and Insights backend, run:
./boostrap.sh
it is possible to access Kommander Dashboard from the local browser via SSH tunnel and SOCKS proxy. Configure SOCKS proxy in the network settings (the default port is 1337) and then run the following target to obtain the credentials and open Kommander UI:
make dashboard
make destroy clean