The Linux commands to clone the repository into a directory "mywebsite" would be
git clone https://github.com/friendica/friendica.git -b stable mywebsite
+
+Get the addons by going into your website folder.
+
cd mywebsite
+
+Clone the addon repository (separately):
+
+ git clone https://github.com/friendica/friendica-addons.git -b stable addon
+
+Install the dependencies:
+
bin/composer.phar install --no-dev
Make sure the folder *view/smarty3* exists and is writable by the webserver user, in this case *www-data*
chown www-data:www-data view/smarty3
chmod 775 view/smarty3
-Get the addons by going into your website folder.
-
- cd mywebsite
-
-Clone the addon repository (separately):
-
- git clone https://github.com/friendica/friendica-addons.git -b stable addon
-
If you want to use the development version of Friendica you can switch to the develop branch in the repository by running
git checkout develop