Skip to content

tripikad/trip2_vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

Laragon

cd c:/laragon/www/trip2
composer install --prefer-dist --no-interaction
curl https://raw.githubusercontent.com/tripikad/trip2_vagrant/master/config/local/.env > .env
php artisan key:generate
npm install
gulp
mysqladmin -uroot -p create trip
mysqladmin -uroot -p create trip2

Local Vagrant

Run

git clone https://github.com/tripikad/trip2_vagrant
git clone https://github.com/tripikad/trip2
cd trip2_vagrant
cp example.settings.yml settings.yml

Then

vagrant up
vagrant ssh

When logged inside virtual machine, set up you root password

sudo passwd

Then enter your root password

su

Then

cd /var/www/scripts
./install.sh your-db-password # secret

Remote Digital Ocean or Linode server

First install respective Vagrant plugin:

vagrant plugin install vagrant-digitalocean

or

vagrant plugin install vagrant-linode

Then update settings.yaml with Digital Ocean or Linode API token. Also set the environment to staging or production.

Then run

vagrant up --provider=digital_ocean
vagrant ssh

When logged inside virtual machine

cd /var/www
git clone https://github.com/tripikad/trip2.git
./var/www/scripts/install.sh your-db-password

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published