|
| 1 | +# DigitalOcean |
| 2 | + |
| 3 | +You can deploy Openblocks on DigitalOcean using our [Openblocks docker image](https://marketplace.digitalocean.com/apps/openblocks) from the DigitalOcean Marketplace. Based on the pre-built image, you can create a DigitalOcean droplet as your cloud-based infrastructure and set up an Openblocks instance in seconds. [Create a DigitalOcean account](https://cloud.digitalocean.com/registrations/new) or [Log in](https://cloud.digitalocean.com/login) to get started. |
| 4 | + |
| 5 | +## Deploy |
| 6 | + |
| 7 | +1. Search **Openblocks** in DigitalOcean Marketplace or visit [Openblocks page](https://marketplace.digitalocean.com/apps/openblocks) directly. |
| 8 | +2. Click **Create Openblocks Droplet** to enter the configuring page. |
| 9 | + |
| 10 | + <figure><img src="../.gitbook/assets/DigitalOcean-1.png" alt=""><figcaption></figcaption></figure> |
| 11 | +3. Choose the region and datacenter. The closest one to you and your users is recommended. |
| 12 | + |
| 13 | + <figure><img src="../.gitbook/assets/DigitalOcean-2.png" alt=""><figcaption></figcaption></figure> |
| 14 | +4. The Openblocks image should already be listed as shown below, so you don't need to choose here. |
| 15 | + |
| 16 | + <figure><img src="../.gitbook/assets/DigitalOcean-3.png" alt=""><figcaption></figcaption></figure> |
| 17 | +5. Choose a plan and size for your Droplet, which determines its RAM, disk space, and vCPUs as well as its price. Note that the **Basic** shared CPU with **Regular with SSD (1 GB CPU / 25GB SSD Disk / 1000GB transfer)** CPU option is more than capable of hosting an Openblocks instance. |
| 18 | + |
| 19 | + <figure><img src="../.gitbook/assets/DigitalOcean-4.png" alt=""><figcaption></figcaption></figure> |
| 20 | +6. Choose an [SSH key](https://docs.digitalocean.com/products/droplets/how-to/add-ssh-keys/) if you've added one, or create a root password for the Droplet. |
| 21 | + |
| 22 | + <figure><img src="../.gitbook/assets/DigitalOcean-5.png" alt=""><figcaption></figcaption></figure> |
| 23 | +7. Set the droplet name, add tags, and click **Create Droplet** to finish the deployment. |
| 24 | + |
| 25 | + <figure><img src="../.gitbook/assets/DigitalOcean-6.png" alt=""><figcaption></figcaption></figure> |
| 26 | + |
| 27 | + It usually takes around a minute to start the droplet. |
| 28 | + |
| 29 | + <figure><img src="../.gitbook/assets/DigitalOcean-7.png" alt=""><figcaption></figcaption></figure> |
| 30 | + |
| 31 | +{% hint style="info" %} |
| 32 | +For more help, see [Droplets | DigitalOcean Documentation](https://docs.digitalocean.com/products/droplets/). |
| 33 | +{% endhint %} |
| 34 | + |
| 35 | +## Sign up |
| 36 | + |
| 37 | +After deployment, your new Openblocks instance should be available at **http://your\_droplet\_public\_ipv4:3000**. |
| 38 | + |
| 39 | +<figure><img src="../.gitbook/assets/DigitalOcean-8.png" alt=""><figcaption></figcaption></figure> |
| 40 | + |
| 41 | +In the welcome page, Click **Sign up** to get started. Openblocks will automatically create a workspace for you. Then you can start building your apps and invite members to your workspace. |
| 42 | + |
| 43 | +<figure><img src="../.gitbook/assets/DigitalOcean-9.png" alt=""><figcaption></figcaption></figure> |
| 44 | + |
| 45 | +## Droplet Web Console |
| 46 | + |
| 47 | +Find the deployed droplet in your [DigitalOcean projects](https://cloud.digitalocean.com/) and redirect to its details page. Click **Console** on the right to enter the Droplet Web Console. |
| 48 | + |
| 49 | +<figure><img src="../.gitbook/assets/DigitalOcean-10.png" alt=""><figcaption></figcaption></figure> |
| 50 | + |
| 51 | +<figure><img src="../.gitbook/assets/DigitalOcean-11.png" alt=""><figcaption></figcaption></figure> |
| 52 | + |
| 53 | +## Update |
| 54 | + |
| 55 | +For information about how to update the Openblocks image to the latest version, see [Update](./#update). |
| 56 | + |
| 57 | +## Customize deployment configurations |
| 58 | + |
| 59 | +For information about how to customize deployment configurations, see [Customize deployment configurations](./#customize-deployment-configurations). |
0 commit comments