Skip to content

Instantly share code, notes, and snippets.

Avatar
🤙
Available

Ndirangu Waweru nwaweru

🤙
Available
View GitHub Profile
@nwaweru
nwaweru / deploy.php
Created Mar 11, 2020 — forked from mtwalsh/deploy.php
Deployer recipe for Laravel projects.
View deploy.php
<?php
namespace Deployer;
require 'recipe/common.php';
// Project name
set('application', 'enovate.co.uk');
// Project repository
set('repository', 'git@githosting.com:enovatedesign/project.git');
@nwaweru
nwaweru / virtualHost.conf
Created Mar 11, 2020 — forked from bvipul/virtualHost.conf
For Adding virtual hosts file for Laravel projects
View virtualHost.conf
<VirtualHost *:80>
ServerAdmin admin@server.in
ServerName server.in
ServerAlias server.in
<Directory /var/www/html/project/public>
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
DocumentRoot /var/www/html/project/public/
You can’t perform that action at this time.