Skip to content

xtphty/vagrant

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Destiny.gg

Vagrant code for the website www.destiny.gg

Note: This is not for production, the quality of this repo is very basic...

This VM takes the following IP 192.168.20.20 and the following ports 8181, 8182, 6379, 8002

These value van be changed in the Vagrantfile but changes to the rest of the setup code will need to follow.

How to run?

Download the latest vagrant www.vagrantup.com

Clone the github.com/destinygg/website

mkdir ./destinygg
cd  ./destinygg
git clone [email protected]:destinygg/website.git .

Clone the vagrant repo into the website folder

mkdir ./vagrant
cd ./vagrant
git clone [email protected]:destinygg/vagrant.git .

Directory structure should be like this:

├── destinygg (website.git)
│   ├── vagrant (vagrant.git)
│   ├── config
...
│   ├── package.json
│   ├── Gruntfile.js

Copy the config.local.php into your destiny.gg/config/ folder (if you do not already have one) Take note of the ports and such...

cp config.local.php ../config/config.local.php

Start vagrant Note: If you are on windows this requires Administrator priviledges, see Vagrantfile for details.

vagrant up

This will automagically install all project dependencies and do an initial build

Optionally, you want to load the latest content (tweets, youtubes etc..)

php -f /vagrant/cron/index.php

The website should be available at http://localhost:8181/ MySQL at localhost:8002 default database name is destiny_gg_dev

You can login using http://localhost:8181/impersonate?userId=1

If you want to run the grunt build again

cd /vagrant
grunt build

About

The destiny.gg vagrant environment

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published