- First we start a Web App in Azure App Services.
- We create a Github repo with the Elgg framework and push it.
- We set up the deployment source pointing to our repo.
Now if we visit the site we have the install message ready to go.
- In the meantime we deploy a bitnami MySQL VM
- We change the Mysql Pass
mysqladmin -u root -p'bitnami' password newpass
- Usando MySQL Workbench nos conectamos a la DB y creamos un nuevo usuario
- We create a new DB Schema with UTF8 collation
- We add all the permissions to the new schema for the new user.
- Next thing is to make sure you can connect with your new user to mysql
Now, lets go back to our original URL and see the process of the test that Elgg is performing on the server, you will get something like this:
- Lets add a Web.config to solve the rewrite error in our project, after doing this we just make a commit and push it to the server.
git commit -m "Adding web.config file" git push origin master
- We can check that the file has already being deployed by using kudu.
- Just go to your url and add the string “.scm” after the name of your website
In there you can just go to the Powershell and go to “D:\home\site\wwwroot>” where you can do an “ls” to see if the new file is there. You can also do “cat web.config” to see the contents of the file.
- Now we refresh the test webpage and we shall see that the test was passed. We can proceed to the next step.
- Now we need to fill the form with all the data of our new website. Also we need to add the Data Directory with an absolute path. So what I will do is to create an empty folder called “data” with file in it so it can be tracked by git.
mkdir data echo "" >> data\text.txt
- And then we commit it and push it
git add data\ git commit -m "Adding data folder" git push
- Now we can check the folder in powershell and obtain the absolute path. This is the one in my case:
We proceed to create the admin account
And we are ready to start using our Elgg Website