Deploying Project on Your Server

Flamingo service provides possibility to publish/deploy your projects on its CDN server as well as on your own server.

Prerequisites

When publishing project on your own server you are going to use self-hosted environment. So you need to add this environment to your project and pay special attention to the Storage URL property.

In this property, enter the URL address where your site should be located. For example, if mobile version of your site is stored in the mobile folder, you should enter http://www.mysite.com/mobile/ there.

Publishing/deploying project

To publish/deploy project to your own server, you need to use self-hosted environment:

  1. In Control Panel, open Project List.
  2. In the list, find your project and click on it to open.
  1. Add self-hosted environment to your project, if you have not done this yet.

Note

The address you specified in the Storage URL environment parameter will be used in the switcher code generated for your project.

  1. On the project Dashboard, click Publish to Live.
  1. On the Publish page, select Self-Hosted in the Environment list.
  1. Add note in the Publish Note field, if needed.
  2. Click Publish. Flamingo creates a *.zip file with your project.
  1. Download created *.zip file using the link sent to you by email.

Or you can perfrom all actions in Control Panel:

  1. Perfrom steps 1-7 from the previous walkthrough.
  2. Go to the project Integration page.
  3. Click on the self-hosted environment to open page with information about it.
  1. Click on the Download Source Code button.
  1. After *.zip file is loaded deploy it on your server (specified in the Storage URL environment property).

Now you can use the site on your own server.