Set up Laravel project from github on my Digital Ocean VPN account
New here? Learn about Bountify and follow @bountify to get notified of new bounties! x


I need your help to set up this Laravavel project on my Digital Ocean VPN account.
We will talk on skype. Please post your skype user.
This shouldn't take you much time.
Here is the repo:
It is urgent. I need it later today.
It is actually from a youtube tutorial, but I'm sure that if you have experience with Laravel you will be able to set it up in a few minutes as it has everything you need, mysql tables etc.

Please post your skype username in the comments and I'll reach you.

awarded to tomtoump

Crowdsource coding tasks.

2 Solutions

Winning solution

# clone repository
cd /var/www/html
apt-get install git
git clone laravel
cd laravel

# install composer and dependencies
curl -sS | php
mv composer.phar /usr/local/bin/composer
composer install

# enable mcrypt
php5enmod mcrypt
service apache2 restart

# change ownership of app/storage directory
chown -R www-data:www-data app/storage

# add mysql password (line 60)
nano app/config/database.php

# removed incompatible mysql (line 74)
`updated_at` timestamp NOT NULL,

# import database
mysql -uroot -p < database.sql

# enable pdo extension
echo '' >> /etc/php5/apache2/php.ini
service apache2 restart

# allow htaccess
nano /etc/apache2/sites-available/000-default.conf

# and add those lines on top
<Directory /var/www/html>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride All
    Order allow,deny
    allow from all

I'd rather advice you to avoid manually setting Laravel on DigitalOcean. It is really a hassle. You can instead use a managed hosting platform like Cloudways to instantly and easily deploy your Laravel project on DigitalOcean. Here is an example of how easy it is:

View Timeline