Skip to content

e0da/account_manager

Repository files navigation

Gevirtz Account Manager

Build Status Coverage Status

Requirements

You have to provide a JavaScript runtime. I recommend installing node.js via package manager.

Download and Setup

git clone https://github.com/e0da/account_manager
cd account_manager
bundle
rake

Simply running rake will run the recommended tasks for a setup on Ubuntu. For more granular control, check out rake -T. As a minimum, you're going to want to run rake css to build the stylesheets before running the app.

Config File

Copy config/production.example.yml to config/production.yml and edit it to fit your environment.

Development

The required custom schema for Ladle is provided. If you need to modify and rebuild it, read on.

Note: I have found that some of the sources referred to by this Maven build are hosted at m2.safehaus.org, which has NEVER responded to an HTTP request from me, so to get this to work I had to first add this to my /etc/hosts file.

127.0.0.1 m2.safehaus.org # redirect these requests to localhost

Then just run this to build the schema. The development environment already knows where to look to find it.

rake ladle:schema

Running

Production

sudo start account

Development

rake start

Testing

rspec

Note: On my fast computer, some of the specs will fail on the first pass because Ladle takes too long to start. If you get a few failures related to directory operations, don't panic. Just run the specs again and see if they pass. Watch for the telltale notification that the server took more than 15 seconds to start.

License

Licensed under the MIT License. See LICENSE.

About

Gevirtz Account Manager web application

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages