Visual Studio Code

How to host your application via the Discloud extension in Visual Studio Code.

The Discloud VSCode Extension allows you to deploy and manage your applications directly from Visual Studio Code, eliminating the need to use a web dashboard or Discord bot commands.


🛠️ Installing the Discloud Extension

1

Open VSCode on your computer.

2

Go to the Extensions Tab (Ctrl + Shift + X).

  • In the search bar, type: "Discloud" then click "Install".


🔑 Logging into Discloud

Before deploying, you need to log into your Discloud account.

1

Click on the Discloud Extension Tab in the VSCode sidebar.

2

Click "Submit your Discloud token" and enter your Discloud API Token.

3

Once logged in, your Discloud applications will appear inside the extension tab.


🚀 Deploying Your Application

With the VSCode Extension, you can deploy your app in just a few clicks!

1

Preparing your project.

  • Ensure your project contains all required files:

    • discloud.config (configuration file).

    • Necessary dependencies for your programming language (e.g., package.json for Node.js, requirements.txt for Python).

  • Check the Languages Guide to make sure your project is properly structured.

2

Uploading your application.


📌 Tips & Tricks

📂 Using .discloudignore to Exclude Files

If you want to exclude certain files or directories from being uploaded, you can create a .discloudignore file in the root of your project.


❓ Still need help?

Check the FAQ Section or join our Discord Server for support.

Last updated