Files
ubicloud/.dockerignore
Enes Cakir 56881a7738 Add cloudify_server script for demo quick start
We removed VmHost pages from UI at bc3c74a. Adding VmHost requires
multiple steps via CLI, and it makes quick start guide harder and longer.

Open source users can run `cloudify_server` script with following command

    docker exec -it ubicloud-app ./demo/cloudify_server

Script asks some inputs and guides users. Example interaction:

    Enter hostname or IP address: 138.201.228.121

    1. Hetzner Finland
    2. Hetzner Germany
    3. DataPacket Istanbul

    Select provider and location [default: 1]: 2

    Cloudifying '138.201.228.121' server for 'Hetzner Germany'

    Waiting public SSH keys

    Add following public SSH key to '/root/.ssh/authorized_keys' on your machine

    ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDcObAjJD70wSWGl4TSYk0Rz26b76vwcDtnY5FX6gJgP

    Press enter after you add the above SSH key to your machine

    Waiting for server to be cloudified
    2023-07-25 12:30:05 +0000 state: wait_bootstrap_rhizome
    2023-07-25 12:30:19 +0000 state: wait_prep
    2023-07-25 12:30:42 +0000 state: wait_setup_hugepages
    2023-07-25 12:31:56 +0000 state: wait_setup_spdk

    Your server is cloudified now. You can create virtual machines at 'Hetzner Germany' in the cloud dashboard.

If something went wrong, it timeouts in 10minutes with following message

    Could not cloudify server in 10 minutes. Probably something went wrong.
    Last state: wait_bootstrap_rhizome. Server ID for debug: b61f38d3-8bb1-8331-a264-f3ed899e3d4c
    Please check your hostname/IP address and be sure that you added the correct public SSH key to your server.
    You can ask for help on GitHub discussion page: https://github.com/ubicloud/ubicloud/discussions
2023-08-01 10:10:22 +03:00

10 lines
81 B
Plaintext

.git
.env
.env.rb
coverage
demo/.env
# Frontend
node_modules
assets/css/app.css