Skip to content

amiller-ims/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
  • Linux users should note that a new user group, docker, has been created. The user that will interact with the Docker service will need to be in this group.
  • Linux users also set the MySQL folder permissions: chmod -R 777 docker/data/mysql
  • Linux users should set the cache directory permssions: chmod 777 var/cache
  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)
  1. If you have run these manual tasks, you will also need to create the administrative account and password for the system:
    ./bin/console salt:user:add admin Unknown --password=secret --role=super-user
    

Other Docs

About

Standards Alignment Tool

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 64.2%
  • JavaScript 13.9%
  • HTML 13.0%
  • Gherkin 5.5%
  • CSS 2.5%
  • Shell 0.5%
  • Other 0.4%