Skip to content

jomweb/platform

Repository files navigation

JomWeb Platform

Join the chat at https://gitter.im/jomweb/platform

Build Status Scrutinizer Quality Score

Pre-requirement

Installation

Setup using GIT

  1. Fork the repository.
  2. Clone the forked application git clone git@github.com:your-github-id/platform.git faces.my
  3. Navigate to the project directory cd faces.my
  4. Run git remote add upstream git@github.com:jomweb/platform.git
  5. Run git fetch —all.
  6. Run vagrant up (you need to make sure both Vagrant and VirtualBox are installed).
  7. Setup a host alias to point to 192.168.50.100 faces.app using /etc/hosts on Mac OSX or it’s equivalents.

Updating Composer

To update composer, just run the following command:

$ vagrant ssh -c "cd /vagrant && composer install —prefer-dist"

Running migration

To run project database schema migration, just run the following commnad:

$ vagrant ssh -c "php /vagrant/artisan migrate"