Deployment Cpanel

From Journey

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.

Deploy01.png

Choose the second item, MySQL Databases.

In here we first want to create the Database.

Deploy02.png

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.

Deploy03.png

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.

Deploy04.png

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.

Deploy05.png

Having created the User, click the Go Back button at the bottom to now set join the User to the Database.

Deploy06.png

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.

Deploy07.png

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.

Deploy08.png

Click on the Subdomains option.

Deploy09.png

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.

Deploy10.png

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.

Deploy11.png


Symfony

Next, we need to Deploy the code base into this website.

Deployment Symfony