kochen / opensalt

Standards Alignment Tool

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Standards Alignment Tool (SALT)

Latest Stable Version Build Status StyleCI Scrutinizer Code Quality SensioLabsInsight

Overview

This is a prototype for testing the IMS Global Learning Consortium® CASE™ Specification and proving its use in real-world scenarios based on various proof of concept and pilot projects.

The code is intended to run using a set of docker containers using docker-compose so that it can be easily deployed in any Linux environment with docker installed.

Installation

  1. Install Docker from here and Docker Compose from here

Note: the rest of the following can be automated by running ./local-dev/initial_dev_install.sh

Once the application is running: To create an organization use ./bin/console salt:org:add [organization name] To create a user use ./bin/console salt:user:add [username] [--password="secret"] [--role="rolename"]

The initial_dev_install.sh command creates an initial super admin "admin" with password "secret"

./bin/build.sh also does much of the following, for doing a "build" after one has started development

  1. Create env file and docker-compose file
cp docker/.env.dist docker/.env
ln -s docker/.env .env

ln -s docker-compose.dev.yml docker/docker-compose.yml
  1. Edit docker/.env and set desired values
  • The PORT specified is what is used in step 7 below
  1. Start the application
make up
* To stop the application

```
make down
```
  1. Install libraries with composer/yarn and build application
make force-build
  1. Run database migrations
make migrate
  1. http://127.0.0.1:3000/app_dev.php/ should show the initial screen with debug turned on
  • Note that the port here should be the value of PORT in the .env file (default being 3000)

Other Docs

About

Standards Alignment Tool

License:MIT License


Languages

Language:PHP 62.4%Language:JavaScript 14.7%Language:HTML 12.8%Language:Gherkin 6.2%Language:CSS 2.7%Language:Shell 0.5%Language:Dockerfile 0.3%Language:Makefile 0.2%Language:HCL 0.2%