corporal/machines/server
2020-12-02 22:18:22 -06:00
..
deploy/corporal Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00
fabenv.py.dist Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00
fabfile.py Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00
fabric.yaml.dist Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00
README.md Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00
Vagrantfile Initial commit, as generated by Rattail Demo 2020-12-02 22:18:22 -06:00

server

This is for a generic "server" which runs Corporal.

Updating Live Server

Note that this assumes you have defined server within your SSH config, e.g. at ~/.ssh/config. Also you should configure the root password within ./fabric.yaml.

Install everything with:

fab2 -e -H server bootstrap-all

Testing with Vagrant

You should be able to get a VM going with a simple:

vagrant up

You can then SSH directly into the VM with:

vagrant ssh

You can confirm SSH credentials needed for connecting to it, with:

vagrant ssh-config

Now you can "bootstrap" the machine with Fabric. Please double-check your fabenv.py file and make sure it contains:

env.machine_is_live = False

After all this machine is not live, it's just for testing. Finally, here is the bootstrap command. Note that it's possible you may need to modify some parameters based on the output of vagrant ssh-config above.

fab2 -e -H vagrant@localhost:2222 -i .vagrant/machines/default/virtualbox/private_key bootstrap-all