GithubHelp home page GithubHelp logo

f3rmiparad0x / trax2-starter-lrs Goto Github PK

View Code? Open in Web Editor NEW

This project forked from trax-project/trax2-starter-lrs

0.0 0.0 0.0 5.73 MB

License: GNU General Public License v3.0

Shell 0.03% PHP 17.03% CSS 69.32% JavaScript 1.36% Vue 10.78% SCSS 0.71% Blade 0.76%

trax2-starter-lrs's Introduction

TRAX LRS 2.0 - Starter Edition (beta 1)

About TRAX LRS

TRAX LRS is an xAPI conformant Learning Record Store (LRS) built with Laravel.

It focuses on the core features of an LRS, and that's it!

We want to keep it simple and clean, and give you the freedom to build what you want around it.

Fore further information, visit http://traxlrs.com

Sofware License & Copyright

TRAX LRS Starter Edition is distributed under the GNU-GPL3 license.

Copyright 2021 Sébastien Fraysse, http://fraysse.eu, [email protected].

Server Requirements

Apache 2.4

  • mod_rewrite

PHP 7.2.5 to 7.4

Check that your PHP version and configuration is valid both for PHP Web & CLI.

  • BCMath
  • Ctype
  • Fileinfo
  • JSON
  • Mbstring
  • OpenSSL
  • PDO (PDO_MYSQL / PDO_PGSQL)
  • Tokenizer
  • XML

Database

  • MySQL: 5.7 or 8.0
  • MariaDB: 10.3 or 10.4
  • PostgreSQL: 12

Utilities

  • Git
  • Composer 1.x

Installation

First Steps

Assuming that you want to install TRAX LRS in a folder named traxlrs:

git clone --recursive --branch beta1 https://github.com/trax-project/trax2-starter-lrs traxlrs
cd traxlrs
composer install

File Permissions

Folders storage and bootstrap/cache require write access by the web server. If you are not sure how to configure this, you can use the following commands for testing purpose.

chmod -R 777 bootstrap/cache
chmod -R 777 storage

Web Server

For security reasons, only the public folder should be accessible by the web server. Create a virtual host and configure the document root to traxlrs/public.

Database

Create an empty database with the utf8mb4_unicode_ci encoding. Then, at the root of the application folder, make a copy of the .env.example file, rename it .env and enter your database settings.

MySQL/MariaDB example:

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=traxlrs
DB_USERNAME=root
DB_PASSWORD=

PostgreSQL example:

DB_CONNECTION=pgsql
DB_HOST=127.0.0.1
DB_PORT=5432
DB_DATABASE=traxlrs
DB_USERNAME=postgres
DB_PASSWORD=aaaaaa

Environment

In the .env file, you can set the current environment, as well as a debugging option.

For testing and development:

APP_ENV=local
APP_DEBUG=true

For production:

APP_ENV=production
APP_DEBUG=false

Last Steps

php artisan key:generate
php artisan migrate

Admin Account

You can now create an admin account with the following command. This will give your credentials to log into the application.

php artisan admin:create

Updates

If you already installed TRAX LRS Starter Edition, you can get the last minor updates with the following commands:

git pull origin beta1
git submodule update
composer dumpautoload

trax2-starter-lrs's People

Contributors

sfraysse avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.