Deploy to Azure

This topic shows you how to deploy a Weavy instance to Azure manually.

If you don't have a package yet, head over to Getting Started section to download Weavy and create your first package.

Sign in to your Azure account

Start by signing into your account on the Azure Portal.

Create Web App

Click Create a resource and choose Web App. Enter App name, select the appropriate subscription and resource group. Make sure the OS is Windows and Publish is Code. Configure the App Service Plan and finish by clicking Create.

There are a number of ways to deploy code to the Web App. In this example we are going to transfer the files with FTP.

Wait for the deployment to finish, then navigate to the Overview of the created Web App. Click Get publish profile. Open the XML file and locate the publish profile for FTP. Use publishUrl, userName and userPWD to connect using your favorite FTP client.

<publishProfile profileName="weavy-manual-deploy - FTP"

Extract your Weavy package to a folder on your local computer. Transfer the contents of the wwwroot\ folder to the Azure Web App using your FTP client.

Create SQL Database

Click Create a resource and choose SQL Database. Fill out all required values to create an empty database. Wait for the deployment to finish.

Now you need the SQL username and password. Navigate to the server where you deployed the database. For username, see Server login on the Overview blade of the server. If you do not know the password, you can reset it by clicking Reset Password, also on the overview blade. Note the username and password - you will need it later.

You can also create a user at the database level. Read more about SQL logins and users


Go back to your deployed database and click Connection strings.
Copy the ADO.NET connection string.

Navigate to the Web App you deployed earlier and click Configuration. Turn on the Web sockets feature.

Click Application settings and add the appropriate settings.

On the same page, scroll down to Connection strings and add a new connection string.
Enter weavy as the Name and paste the connection string from the earlier step, replacing {your_username} and {your_password_here} with your SQL user name and password.

Save your changes.

That should be it. Open a browser and navigate to your Wep App and you should see the Weavy Setup.