Deployment Cpanel
The best place for deploying the Journey DataBase system is on a cPanel Server.
cPanel
Open up your cPanel account.
MySQL
Goto the MySql section.
Choose the second item, MySQL Databases.
In here we first want to create the Database.
The Database already has a prefix of the user you logged in to cPanel as. Give it a name, in this case, we are using this to test deployments, so this is what we have called it.
Click on create.
This creates the Database, but no Tables, now we can click the Go Back button at the bottom.
Next, we want to create the user that we will use to access the Database.
To make things easier, I use the same name fo the Users as the Database.
We want a good password, but keep it to numbers and letters, something like this: iK0fyAPeT4kiu234mjU.
Now click Create User.
Having created the User, click the Go Back button at the bottom to now set join the User to the Database.
Find the Add User to Database. And associate the User to the Database. And click Add.
Next, we get to set up permissions. We want all permissions set.
Click Make Changes. And once again click Go Back.
This is the Database created for this deployment of Journey.
Sub Domain
Now we need to create the website location that is going to contain this deployment of Journey.
Back in cPanel we want this section next.
Click on the Subdomains option.
In keeping with the naming convention, we are going to call this subdomain, deploy, so the URL for this website will be https://deploy.gospel.net.nz
Click on Create.
Click on the Go Back button to return to Subdomains. You can actually go to the new subdomain, in this case, https://deploy.gospel.net.nz
Depending on what I have done with the testing of the deployment site, what you find today could be an active site, a testing site, or even a broken site. When I first created this I had an error page for about five minutes as the cPanel Server did some more work in the background to deploy the SSL certificate.
This quicky configured itself and I ended up with a totally blank site.
Symfony
Next, we need to Deploy the code base into this website.