Skip to content
Standards Alignment Tool
Branch: develop
Clone or download
Latest commit 93ef92a Jul 12, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update issue templates May 23, 2018
assets fix: close dialogue after error creating item Feb 6, 2019
bin chore: update to Symfony 4.3.1 Jun 11, 2019
ci ci: do not push images for PRs from other repos Aug 16, 2018
config feat: remove old SECRET env parameter Jul 4, 2019
deploying fix: update version of clean-css for security fixes Jun 20, 2019
docker chore(deps): bump lodash.mergewith in /docker/encore/node Jul 11, 2019
docs
features Resolved conflict Jan 4, 2018
local-dev refactor: update initial setup documentation May 29, 2018
public refactor: all parameters come from docker environment May 25, 2018
sample files Update spreadsheet sample file in sample files dir Feb 8, 2019
spec/App/Entity/Framework tests: move spec class to correct namespace Mar 5, 2018
src feat: separate CASE Network client id and secret Jun 20, 2019
templates feat: remove unused visualization feature Jul 4, 2019
tests tests: prefix URL path with / Jun 11, 2019
translations refactor: add translation file May 25, 2018
var style: change from tabs to spaces Jun 20, 2019
.bowerrc Initial GitHub commit Oct 31, 2016
.codeclimate.yml refactor: move features dir under tests Dec 21, 2017
.dockerignore chore: add command to import json files Mar 25, 2019
.gitignore feat: add api endpoints to get lists of frameworks Jun 8, 2018
.php_cs.dist refactor: install flex May 24, 2018
.scrutinizer.yml Add some more excluded_dependencies. Jan 4, 2018
.styleci.yml chore: various cleanups suggested by codacy Jan 18, 2019
.travis.yml chore: update travis to use minimal base image Feb 8, 2019
.yarnclean Updated .yarnclean so it doesn't remove upath's important build dir Sep 17, 2018
CONTRIBUTING.md Create contributing.md Jun 1, 2018
LICENSE Changing to MIT licence Nov 16, 2016
Makefile Merge branch 'feature/proj-dir-setting' into pr/583-proj-dir-setting Aug 15, 2018
README.md chore: stop using deprecated Role class May 30, 2019
VERSION chore: bump develop version to 2.3 Jun 27, 2019
codeception.dist.yml tests: parameters.yml no longer exists May 28, 2018
composer.json chore: update symfony and upstream libraries Jun 27, 2019
composer.lock chore: update dependencies Jul 12, 2019
package.json chore: update jquery version May 6, 2019
phpcs.xml.dist chore: update phpcs.xml for new rule name Apr 9, 2019
phpspec.yml.dist test: migrate to codeception for testing Jul 4, 2017
phpstan.neon.dist tests: add phpstan Feb 20, 2019
phpunit.xml.dist refactor: migrate to Symfony Flex May 24, 2018
sonar-project.properties chore: run sonar-qube from travis Dec 13, 2018
symfony.lock chore: update symfony and upstream libraries Jun 27, 2019
web refactor: migrate to Symfony Flex May 24, 2018
webpack.config.js refactor: remove vendor dir dependency from js Sep 24, 2018
yarn.lock chore(deps): bump lodash.mergewith from 4.6.1 to 4.6.2 Jul 11, 2019

README.md

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

You can’t perform that action at this time.