Easy linux system management for schools
Ruby JavaScript HTML Gherkin CSS Makefile Other
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
acl acl: test read access for users puavoSchool attribute Mar 8, 2016
bin Various files added by Rails 4.0/4.1/4.2 migration scripts. Nov 1, 2017
config Improve strings on the group members page Aug 17, 2018
db Add "thomas.anderson" to heroes-organisation, another student. Jun 15, 2018
import-tool import-tool: Lazy load username data Nov 23, 2015
lib Do not look up configurations for external password management in May 28, 2018
script Add test headers to puavo-bughunter. Needs some tweaking. Aug 17, 2018
test/models rest: use yajl to parse json from fluent Dec 18, 2013
.eslintrc import-tool: Prevent unload during import Nov 18, 2015
.gitignore Completely ignore the /log directory Aug 14, 2018
.gitmodules Drop submodules Mar 21, 2013
COPYING Added licence Nov 12, 2010
Dockerfile Another try running systemd inside docker. Feb 5, 2018
Gemfile Lock all gems to known-good versions. All tests pass. There are some Mar 21, 2018
Gemfile.lock Lock all gems to known-good versions. All tests pass. There are some Mar 21, 2018
Gemfile.shared Lock all gems to known-good versions. All tests pass. There are some Mar 21, 2018
Jenkinsfile When doing cucumber tests for puavo-web in Jenkins, Jun 20, 2018
Makefile Merge remote-tracking branch 'origin/jenkins' Feb 1, 2018
README.md add server make tasks Feb 24, 2015
Rakefile Make Rails 3 to boot Mar 19, 2013
ci.sh Force org refresh before tests Sep 21, 2015
config.ru Add rails 3 files Mar 19, 2013
generic_test_helpers.rb Admin user in "heroes"-database does not have "secret" as password. Jun 14, 2018
monkeypatches.rb Try a bit simpler patch for activeldap suggested in Jun 13, 2018


puavo-web & puavo-rest

Web interface and RESTful API server on top of OpenLDAP with Puavo schemas


Apply Ansible rules from puavo-standalone.

Clone this repository and install build dependencies

sudo make install-build-dep


Install required rubygems and build assets


Stop the puavo-standalone installed puavo-web server and start a development server

sudo stop puavo-web
make server

If you need to hack on the worker process

sudo stop puavo-web-worker
bundle exec rake resque:work QUEUE='*' VERBOSE=true

Access ActiveLdap console

bundle exec rails runner script/puavo-web-prompt.rb


cd rest

Install required rubygems


Stop the puavo-standalone installed puavo-rest server and start a development server

sudo stop puavo-rest
make server

or with a reloading server

bundle exec shotgun -o -p 9292

Access model console

bundle exec scripts/puavo-rest-prompt.rb