ServePHP
Manage Domain Applications/Websites
Manage Domain Applications/Websites
Adding an application for domain
-
Once you create your domain then you are able to add application for domain.
-
To add application you need to click on the Add New Application.
-
Now enter the title of your application/site.
-
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.
-
Select application type as Laravel or General PHP.
-
Finally to create new application click on the Submit button.
-
Install repository for an Application
-
To install repository for the application you need to click on the Repository from the side menu in side of the application.
-
To install Git repository you need to click on the Install Git Repository.
-
First you have to select your repository provider from the given list.
-
Then you need to choose your Git Repo.
-
At last select your branch.
-
To install your repository with selected information, click on the Submit button.
-
Notification
-
Notification will be sent with every work that the server has done to your Slack channel. This includes deployment information & other.
-
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.
-
Using the Enable slide in notification switchery you can start showing your slide in notification for the slack.
-
By clicking on the Deployment Failure Email Notification switchery you can manage the deployment failure notifications.
-
Managing Deployment script
-
Using Deployment you can write your deployment logic. Also you can manage your multiple deployment scripts from here.
-
To add new script click on the Add New Script button which opens the dialog Add New Script.
-
To add new script at first add the Title of the script.
-
Then add add your Script for the deployment logic.
-
By default your every new script will treat as Default script.
-
If you want to apply some conditions to run the deploy script. Then first you have to uncheck the Default conditions.
-
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.
-
Then add the content of the condition in Following Content.
-
To add script click on the Submit button.
-
You run each script separately by clicking on the Deploy button available at each script.
-
Manual File Manager
-
Using the manual file manager you can create a new file or can connect the existing file.
-
For creating the new file click on the Create New File button which opens the dialog for Add New File.
-
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.
-
Then add File Name & at last insert the File Text.
-
After inserting all the above information when you click on the Create button your file will be created.
-
For connecting the existing file click on Connect File button which opens dialog for Connect Existing File.
-
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.
-
Then add File Name.
-
After inserting all the above information when you click on the Connect button your file will be connected.
-
Laravel Queue Workers
-
To manage Laravel Queue Workers click on the Laravel Queue Workers from the application’s side menu.
-
To create new Laravel Queue Workers click on the New Queue Workers button which opens the dialog to add the New Laravel Queue Workers.
-
To add new queue worker first you have to add the Laravel Artisan Path.
-
Then you have to add the Connection, Queue, Timeout & Rest Seconds When Empty.
-
After the above add the Failed Job Delay, Number of Processes, Maximum Tries & Environment for create new Laravel Queue Worker.
-
When will fill all this information click on the Create button to create the new Laravel Queue Worker.