Micro App Framework
PHP JavaScript HTML Other
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.ebextensions Fixed YAML Syntax Jul 20, 2018
app Handle Failed Response on HTTP Fetch Aug 11, 2018
bootstrap Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
config Disable CAS Debug Log by default Aug 2, 2018
database Check to make sure endpoint group exists before adding Jul 14, 2018
public Consistency cleanup Aug 10, 2018
resources Consistency cleanup Aug 10, 2018
routes
storage
tests Refactoring Models (plural), more base code Jan 23, 2017
.env.example Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
.gitattributes initial commit Jan 13, 2017
.gitignore Support Server-Based Configs Jun 1, 2018
LICENSE Add License File Mar 17, 2017
Procfile
artisan Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
build.sh Fix table when switching versions May 2, 2018
composer.json Added Full CAS Support Sep 21, 2017
composer.lock Adds image stuff Mar 19, 2018
gulpfile.js Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
package-lock.json Clean up default titlebar Jan 26, 2018
package.json Clean up default titlebar Jan 26, 2018
phpunit.xml Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
readme.md Update Timeline Dec 20, 2017
server.php Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017
widget_templates.js
yarn.lock Checking in Initial Version of Laravel 5.3 with DB Migrations, Models… Jan 22, 2017

readme.md

Graphene

About Graphene

Graphene is a fully featured Application Development and Content Management Engine built on top of Laravel 5.

Note: This project is in the process of merging with the Binghamton University Open Source "Graphene" project which runs the my.binghamton.edu user experience platform / portal. (https://github.com/BinghamtonUniversity/Graphene) While the code is largely functional (though not quite production ready), it is not recommended for use outside of a development environment at this time. This merger effort (including proper documentation of installation, configuration, and general setup) is expected to be completed in the late first / early second quarter of 2018.

Videos / Tutorials

Introduction to Graphene

Dependencies

  • MySQL 5.7.8 or Later
  • PHP 7.0 or Later
  • Composer (Latest)

Installation Instructions

Clone the Code:

 git clone https://github.com/EscherLabs/Graphene.git

Setup the Database

From mysql, create the "crazystairs" database with the correct access permissions:

create database crazystairs
GRANT ALL ON crazystairs.* TO 'crazystairs'@'127.0.0.1' IDENTIFIED BY 'crazystairs';

Note: you can change the database name, username, and password, etc in the ".env" file in the root of the Graphene application. The .env file does not exist by default, so you will need to create one if you want to change the following defaults::

DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=crazystairs
DB_USERNAME=crazystairs
DB_PASSWORD=crazystairs

Install All Dependencies

From within the root directory of the Graphene application run:

 composer install

Run All Database Migrations

From within the root directory of the Graphene application run:

 php artisan migrate:refresh --seed

Update database defaults

From mysql (within the database you set up previously), run the following (substituting user@example.com with your email address):

use crazystairs;
update users set email = 'user@example.com' where id = 1;
updates sites set auth = 'basic' where id = 1;

Note: This will set your username as the default user, and disable CAS Authentication (use basic authentication instead).

Modify your /etc/hosts File

The default site for graphene (as created by the initial database seed) is graphenedev.local. You will need to point this to 127.0.0.1 in your /etc/hosts file.

#Add the following line
127.0.0.1       graphenedev.local

Serve up the Application with Artisan

From within the root directory of the Graphene application run:

 php artisan serve --host=graphenedev.local

Visit the site in your Web Browser

  1. Open up a web browser and navigate to http://graphenedev.local:8000/
  2. Log in with the email address you set up previously and the default password "crazystairs"

License

The Graphene Framework is open-sourced software licensed under the MIT license.