Skip to content

Alex-So/portal

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

portal

Installation using Vagrant

1) You need installed on your local machine: Vagrant, Ansible, Virtualbox, Composer

3) Clone your fork

git clone ...
cd portal
vagrant up

4) Install dependencies

cd app
composer up

Go to guest (started on Virtualbox) machine:

vagrant ssh
cd /vagrant/protected/yiic migrate
protected/yiic migrate

Add payment config file:

app/protected/config/payment_local.php

<?php
return [
    'liqpay' => [
        'public_key' => '12345',
        'private_key' => 'qwerty',
    ]
];

Create admin

INSERT INTO `users` (`id`, `username`, `password`, `email`, `first_name`, `last_name`, `role`, `signin_time`, `last_login`, `status`, `phone`, `position`, `additional_contact`, `hash`, `email_confirmed`) VALUES
(1, 'test', 'hZVCu4ED5zRsY', 'email@gmail.com', 'FirstName', 'LastName', 'administrator', '2015-06-25 16:38:49', '2015-11-08 00:01:15', 1, NULL, NULL, NULL, NULL, NULL)

It will allow you enter with login:test password:12345

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 97.8%
  • CSS 1.3%
  • Other 0.9%