When you want to deploy a WordPress project from local to aqualab.
Set up project files with git
This guide supposes that you are working with Bitbucket as Git Repository.
First, connect to aqualab.ch with the user aquaverde@aqualab.ch
create devsite {myproject}
cd sites/{myproject}
Connect to aqualab with a FTP client to drop off WordPress files which you already downloaded on https://wordpress.org/download/ ![]()
Pull your own theme / plugin (s) from Bitbucket.
The "git clone" command doesn't work because the project folder is not empty.
Simply do int {myproject} folder
git init git status # everything is red = not tracked, just define the repo origin git remote add origin PATH/TO/REPO # you will find the path into BitBucket ;-) git pull origin master # pull info and checkout on master branch
If you check {myproject}.aqualab.ch you will see the first step of the WordPress installation.
However do not continue the installation. Thumb up
Set up project database
You have to export your local database with a plugin like https://wordpress.org/plugins/wp-migrate-db/
Please watch out to rename correctly the url / files paths before the exportation. i.e. : //{myproject}.local comes //{myproject}.aqualab.ch
You will not find any PhpMyAdmin on aqualab. Many solutions to solve this problem.
One is to add the following folder to the project root: dbadmin
Follow the url {myproject}.aqualab.ch/dbadmin and log you. Create a db. Import your dump and give me five.
To establish the connection with the WordPress and the DB, copy / paste wp-config.php from local to project. Edit the config with the local (aqualab) DB login.
Test and that's it.

