There are basically two ways to deploy your project. You can integrate with GitHub for continuous deployment or use the command line for instant deployment, as seen below:
Download the CLI
In your terminal, run this command:
curl https://cdn.wedeploy.com/cli/latest/wedeploy.sh -sL | bash
This will install our command-line interface which is a tool that will help you use the WeDeploy platform.
Assuming you already have a project locally, now you just need to run:
This will immediately start uploading your files. Once that's finished, WeDeploy will start building and deploying your application. In the end, you'll be able to see it online in any browser.
Notice that this command will create a random name for your project. If you want to specify a new name or choose an existing project, you just need to run:
we deploy -p myproject
Being able to deploy instantaneously is great, but sometimes you want to trigger a deploy every time a push is made to GitHub. If that's your case, check the Continuous Deployment section.