An example external provisioning source for OpenNMS.
See the demo @ heroku. If you want to make changes, use the default login credentials:
email: [email protected]
password: password
Ruby 1.9. PostgreSQL.
- git clone
- cd provisionm
- bundle install
- Edit config/database.yml so it uses your PostgreSQL credentials.
- rake db:setup
- rake db:seed
- foreman start
Now you should be able to access this at http://localhost:5000. The initial login credentials are:
email: [email protected]
password: password
Go to the UI and login up the the right hand corner. You won't be able to do squat until then but look at an empty website.
If you're upgrading from SQLite, I didn't provide an upgrade path. Sorry.
- git pull
- rake db:migrate
- Contact me when everything breaks.
If you wish to change the password, fire up the CLI with "rails c" and:
user = User.find_by_email('[email protected])
user.password= 'yournewpasshere'
user.save
Doing this via the web is disabled in this app, you don't really want folks doing this, do you?
So this basically works, and it's for example. There's some things I plan on doing with it later.
See the in-app docs or on the demo.