githubEdit

plugVisual Studio Code

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

The Discloud VSCode Extensionarrow-up-right allows you to deploy and manage your applications directly from Visual Studio Codearrow-up-right, 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 Serverarrow-up-right for support.

Last updated