Skip to content
This repository has been archived by the owner on Feb 24, 2019. It is now read-only.

chathuras/TSD-SRRS

Repository files navigation

TSD - SRRS

Setting Up Instructions

Method 01: With XAMPP in Windows

cd C:\xampp\htdocs\
git clone git@github.com:chathuras/TSD-SRRS.git
cd TSD-SRRS
copy .env.example .env
  • Create an empty database on MySql via phpMyAdmin
Example:
mysql> CREATE DATABASE `tsd-srrs`;
  • Update database credentials on .env file
Example:
DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=tsd-srrs
DB_USERNAME=homestead
DB_PASSWORD=
  • Execute below on command prompt to set up DB tables (Note: this will delete all existing data and recreate tables with random sample data)
php artisan migrate:refresh --seed
  • Open C:\xampp\apache\conf\extra\httpd-vhosts.conf file and add following lines at the end of the file to create a VirtualHost and restart Apache.
<VirtualHost *:80>
	DocumentRoot "C:\xampp\htdocs\TSD-SRRS\public"
		ServerName srrs.app
	<Directory "C:\xampp\htdocs\TSD-SRRS\public">
		Order allow,deny
		Allow from all
</Directory>
</VirtualHost>
  • Open C:\Windows\System32\drivers\etc\hosts file as Administrator and add following line at the end of the file.
127.0.0.1   srrs.app
  • Execute below on command prompt
composer install
npm install
npm install -g gulp
gulp watch

Accessing the web site

  • visit below link on the browser
http://srrs.app/
  • if all good you should see the site running

  • Sample login details for the user login

E-Mail Address: admin@srrs.app
Password: admin1

Setting up on server

php artisan config:cache

About

MSc IT TSD Group Project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published