Installing on a Mac running El Capitan
Hello,
I need to install Contao on a Mac!
I have inherited a website that was developed with Contao on a pc! I have the username and password the developer used to go give access to edit via Contao. So as a start I have copied the site to the “Sites” folder on the Mac and have set up Apache2, php and MySQL all running fine!
Now I need to install Contao! I have tried to follow the “Installing Contao” Manual by following “Installing with Composer” but get lost after entering the following into Terminal on the Mac.
Nicks-iMac-2:~ nickair$ curl -sS https://getcomposer.org/installer | php
All settings correct for using Composer
Downloading 1.2.1...
Composer successfully installed to: /Users/nickair/composer.phar
Use it: php composer.phar
Nicks-iMac-2:~ nickair$ sudo mv composer.phar /usr/local/bin/composer
Password:
Nicks-iMac-2:~ nickair$
Is the next step to enter?
php composer.phar create-project contao/standard-edition <target>
“You have to replace the <target> parameter with a path to a folder where the Contao files will be created. If the target folder does not exist, it will be created automatically.
Can someone please point me to a guide that will help me to complete the installation or help with some guidance? Many thanks for any assistance!
Nick.
Installing Contao 3.5 on a Mac running El Capitan
Thanks for the tip Spooky, I am not experienced so will follow your advice. Is there a link on how to install this version on a Mac anywhere?
Thanks for your kind reply.
Nick
Install Instructions for Mac
Thanks Spooky - A great help. Sorry to bother you with dumb questions!
I have downloaded Contao 3.5, unzipped it and have moved the folder into the Sites folder (localhost) alongside phpmyadmin and the website I need to edit
Next I have entered into Terminal curl -L http://download.contao.org/lts | tar -xzp
LTS version of Contao (3.5):
All good so far
following the Install guide and where it says: -
To open the Contao install tool, simply add /contao/install.php to the URL of your Contao installation.
The dumb question is ... what does this mean? Is the URL of the installation the folder I have downloaded?
Thanks for bearing with me Spooky.
Nick.
OK - New version on the way!
Thanks Spooky,
OK a bit Tricky, but I think I can work my way through this. You have given me a clear route!
1. Drop all tables from your current local database (which you created before).
2. Import mysql-2.9.5.sql via phpMyAdmin to your local database.
3. Run the Contao Install Tool again and execute all necessary upgrade procedures.
4. After that you can start re-integrating all necessary extensions and files into the new Contao installation.
5. You will have to rename the /files folder to /tl_files
If I get stuck I hopefully you will be able to to dig me out! But I will deal with 1 first!
2! I presume I have to find this version and download it!? and then import it?
3. OK
4. Sounds OK but lets see!
5. As 5!
Again Spooky Thanks.... Working on 1 and 2 now.....
Nick