Discloud
How to host discord bot project on discloud hosting
Discloud is a cloud application hosting service.
When generating the project using the CLI, you can select the discloud project
feature, which will cause the two files needed to upload your application to the hosting to be included in the project.
In the discloud.config
file you can set a name and an avatar for your application on the hosting if you prefer.
Install the discloud
extension in Visual Studio Code
Click on the discloud
tab on the sidebar of Visual Studio Code e place your discloud api token.
Then just click on Upload Discloud
in the bottom bar of Visual Studio Code.
If your project does not contain any errors, it will start in a few moments.
If you don't want to use the Visual Studio Code extension, there are other ways to host and you can check them out here. Just remember to follow the requirements below:
- The folder that must be sent is
build
, notsrc
(That's why you need to build first). - The files and folders that must be sent are
build
,.env
,package.json
anddiscloud.config
- Do not send the
node_modules
folder. - It is necessary to set that the script to start is
npm run start
.