Build a dApp on CudoCompute
In this tutorial, we're going to set up a simple dApp on CudoCompute using create-cosmos-app created by Cosmology.
01 Get started on CudoCompute
Register an account at CudoCompute
Add an SSH key Check out how
Create a billing account and set up a project. Create a billing account Create a project
Create a Virtual Machine Be sure to select Ubuntu Minimal 20.04
SSH into the machine.
info
Let us know your thoughts by leaving feedback on the CudoCompute platform
02 Install create-cosmos-app on Ubuntu 20.04
- Update the package manager (press 1 when prompted to):
apt-get update && apt-get -y upgrade
- Run the following curl command
curl node:
curl -fsSL https://deb.nodesource.com/setup_19.x | sudo -E bash -
- Install node and git
sudo apt-get install -y nodejs
sudo apt-get install -y git
- Use npm to install yarn and create-cosmos-app
npm install --global yarn
npm install -g create-cosmos-app
- Run
create-cosmos-app
create-cosmos-app
Name your app and set multi-chain:
? [name] Enter your new app name: my-app
Cloning into 'my-app'...
? [template] which template (Use arrow keys)
> connect-multi-chain
(you may need to wait a while)
- Change directory and run your app
cd my-app
yarn && yarn dev
Open the IP of your server in a web browser on port 3000, eg (http://34.246.34.92:3000)
🎉