Easy linux system management for schools
Ruby JavaScript HTML Cucumber CSS Makefile Shell
Permalink
Failed to load latest commit information.
acl
app
config
db
debian.default
doc
features
import-tool
lib
public
rest
script
spec
test/models
vendor/assets/javascripts
.bash_node_modules
.eslintrc
.gitignore
.gitmodules
COPYING
Gemfile
Gemfile.lock
Gemfile.shared
Makefile
README.md
Rakefile
VERSION
ci.sh
config.ru
cucumber.yml
generic_test_helpers.rb
monkeypatches.rb
package.json
webpack.config.js

README.md

puavo-web & puavo-rest

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

Hacking

Apply Ansible rules from puavo-standalone.

Clone this repository and install build dependencies

sudo make install-build-dep

puavo-web

Install required rubygems and build assets

make

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

puavo-rest

cd rest

Install required rubygems

make

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 0.0.0.0 -p 9292

Access model console

bundle exec scripts/puavo-rest-prompt.rb