https://github.com/wtsi-hgi/hgi-web_usermod
User roles authentication module for HGI-web
https://github.com/wtsi-hgi/hgi-web_usermod
Last synced: about 2 months ago
JSON representation
User roles authentication module for HGI-web
- Host: GitHub
- URL: https://github.com/wtsi-hgi/hgi-web_usermod
- Owner: wtsi-hgi
- License: other
- Created: 2013-04-26T08:38:05.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2014-04-08T15:14:39.000Z (about 11 years ago)
- Last Synced: 2025-01-26T18:48:32.115Z (3 months ago)
- Language: Scala
- Size: 434 KB
- Stars: 0
- Watchers: 19
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# User module for HGI-web
Implements role-based access control (RBAC).##Â Installation
To install, clone the github repository, change into hgi-web_usermod, and run Scala Built Tool (sbt).You can also use the sbt bootstrapping script from https://github.com/paulp/sbt-extras by running:
```sh
wget -O ./sbt https://raw.github.com/paulp/sbt-extras/master/sbt
chmod a+x ./sbt
./sbt
```That should install all prerequisites and leave you at the sbt project shell:
```
[hgi-web_usermod] $
```From which you can enter the play console:
```
[hgi-web_usermod] $ play
```After which you can start a dev instance (in this case on port 9000) by running:
```
[hgi-web_usermod] $ run 9000
```JVM versions lower than 1.7 may have errors on dome Linux machines relating to memory allocation after a fork (`java.io.IOException: error=12`) when running `sbt`. This can be solved by moving to JVM 1.7, or potentially by turning virtual memory overcommit on in the kernel (`echo 1 > /proc/sys/vm/overcommit_memory`).