Skip to content

kochen/opensalt

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 62.4%
  • JavaScript 14.7%
  • HTML 12.8%
  • Gherkin 6.2%
  • CSS 2.7%
  • Shell 0.5%
  • Other 0.7%