Skip to content

Latest commit

 

History

History
54 lines (37 loc) · 2.38 KB

CONTRIBUTING.md

File metadata and controls

54 lines (37 loc) · 2.38 KB

Contributing to the Unity Web Portal

Branch Structure

Each release version has its own branch. Once that version is released, the branch is locked.

When submitting pull requests, the pull request should be made to the version you are targetting, assuming it is not already released.

Conventions

This code base is currently using PHP version 7.4. All files are required to be linted with PSR-12 standard. This repository will automatically check PRs for linting compliance.

Development Environment

Setting up your Environment

  1. Download and install docker desktop for your appropriate OS.
  2. In tools/docker-dev Run the build script: ./build.sh (mac os/linux) or ./build.bat (windows)
  3. Run the environment: ./run.sh (mac os/linux) or ./run.bat (windows). Press CTRL+C to exit.

Environment Usage

While the environment is running, the following is accessible:

Test Users

The test environment ships with a number of users that can be used for testing. When accessing locked down portions of the portal, you will be asked for a username and password. The password is always password.

The following users are available for testing:

Changes to Dev Environment

Should the default schema of the web portal change, the ldap/bootstrap.ldif and sql/bootstrap.sql must be updated for the LDAP server and the MySQL server, respectively.