ServePHP

Manage Domain Applications/Websites


Manage Domain Applications/Websites

 

Adding an application for domain

 

  1. Once you create your domain then you are able to add application for domain.

  2.  To add application you need to click on the Add New Application.

 


 

  1. Now enter the title of your application/site.

  2. Then you must enter the root directory while creating the application if you are creating an application for the domain which is provisioned for multiple applications.

  3. Select application type as Laravel or General PHP.

  4. Finally to create new application click on the Submit button.



 

  • Install repository for an Application

 

  1. To install repository for the application you need to click on the Repository from the side menu in side of the application.

  2. To install Git repository you need to click on the Install Git Repository.

 


 

  1. First you have to select your repository provider from the given list.

  2. Then you need to choose your Git Repo.

  3. At last select your branch.

  4. To install your repository with selected information, click on the Submit button.  


 

  • Notification

  1. Notification will be sent with every work that the server has done to your Slack channel. This includes deployment information & other.

  2. You can enable your slack notification using this. You have to just enable this switchery & click on the Connect Slack for Notification button. Then add your slack credentials & get your slack notifications.

 


 

  1. Using the Enable slide in notification switchery you can start showing your slide in notification for the slack.

  2. By clicking on the Deployment Failure Email Notification switchery you can manage the deployment failure notifications.


 



 

  • Managing Deployment script

 

  1. Using Deployment you can write your deployment logic. Also you can manage your multiple deployment scripts from here.

  2. To add new script click on the Add New Script button which opens the dialog Add New Script.

 

 

  1. To add new script at first add the Title of the script.

  2. Then add add your Script for the deployment logic.

  3. By default your every new script will treat as Default script. 

  4. If you want to apply some conditions to run the deploy script. Then first you have to uncheck the Default conditions.

  5. To apply condition for the script first you have to select the If commit message either Contains or Not Contains the given content for applying the condition.

  6. Then add the content of the condition in Following Content.

 

 

 

 

  1. To add script click on the Submit button.

  2. You run each script separately by clicking on the Deploy button available at each script.



 

  • Manual File Manager

 

  1. Using the manual file manager you can create a new file or can connect the existing file.

  2. For creating the new file click on the Create New File button which opens the dialog for Add New File.

  3. For Add New File first you need to add the File Path. You can browse & select the file path using the Browse button at File Path.

  4. Then add File Name & at last insert the File Text.

  5. After inserting all the above information when you click on the Create button your file will be created.

 


 

  1. For connecting the existing file click on Connect File button which opens dialog for Connect Existing File.

  2. For Connect Existing File first you need to add the File Path. You can browse & select the file path using the Browse button at File Path.

  3. Then add File Name. 

  4. After inserting all the above information when you click on the Connect button your file will be connected.

 


 

  • Laravel Queue Workers

 

  1. To manage Laravel Queue Workers click on the Laravel Queue Workers from the application’s side menu.

  2. To create new Laravel Queue Workers click on the New Queue Workers button which opens the dialog to add the New Laravel Queue Workers.

  3.  To add new queue worker first you have to add the Laravel Artisan Path.

  4. Then you have to add the Connection, Queue, Timeout & Rest Seconds When Empty.

  5. After the above add the Failed Job Delay, Number of Processes, Maximum Tries & Environment for create new Laravel Queue Worker.

  6. When will fill all this information click on the Create button to create the new Laravel Queue Worker.