This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.
Let's say I want to install rainlab blog and my october is installed in /srv/www/october
git clone https://github.com/rainlab/blog-plugin.git
Gives me blog-plugin folder with all the data. I do
mv blog-plugin blog
mkdir /srv/www/october/plugins/rainlab
cp -r blog /srv/www/october/plugins/rainlab/
cd /srv/www/october/
php artisan plugin:refresh rainlab.blog
and that's it. you may also need to setup permissions, on debian or ubuntu you would go like
chown www-data:www-data /srv/www/october/plugins/rainlab
Last updated
The code he mentioned requires you to open up Terminal and navigate to the folder and then type in those commands. You don't put them in your PHP file.
How to use mac terminal
keios said:
Let's say I want to install rainlab blog and my october is installed in /srv/www/october
git clone https://github.com/rainlab/blog-plugin.git
Gives me blog-plugin folder with all the data. I do
mv blog-plugin blog mkdir /srv/www/october/plugins/rainlab cp -r blog /srv/www/october/plugins/rainlab/ cd /srv/www/october/ php artisan plugin:refresh rainlab.blog
and that's it. you may also need to setup permissions, on debian or ubuntu you would go like
chown www-data:www-data /srv/www/october/plugins/rainlab
works perfect, thanks
1-5 of 5