Importing your code

Amezmo can import your Git repository from GitHub. If you don't have a repository, we can also create a new repository for you. After you've create an application, go to the Git tab, and get started with the wizard. The first step is authorizing your GitHub account.

Before importing your code

Note that, you should create your .amezmo directory at the root of your project before you import your code. Once you have this directory created you can create a file named after.pull In this file, you can run your composer commands. Learn more about hooks, or take a look at the sample project on Github

Authorize your GitHub account

Permissions

Amezmo has chosen the minimum set of OAuth permissions neccessary in order to properly function. After you authorize your GitHub account, we import a unique SSH key. This SSH key is not visible to Amezmo, and is created automatically when you create a new application.

Amezmo's internal system authorizes at GitHub with this SSH key in order to pull in your code. When you delete your application, Amezmo will properly clean up after itself, and delete this SSH key.

We request webhook read and write access in order to create Amezmo's push event hook

Configure your repository

Amezmo can create a new repository for your, or it can import an existing one. Choose one of the following options.

Configure deployment rules

The last step of the wizard asks you if you would like to setup automatic deployment. When you select Yes, Amezmo will deploy your code whenever you run git push against your repository. This can be turned off at anytime, but going to the Deployment tab.

Note

Amezmo is designed for running PHP applications. However, you do not need to have any PHP files to use Amezmo. Your application can also be a static website. For example, amezmo.com is hosted on Amezmo, as a mostly static website.

Troubleshooting

If you are having trouble setting up your repository, please contact support