Skip to content
develop
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
app
 
 
bin
 
 
 
 
db
 
 
lib
 
 
log
 
 
 
 
 
 
tmp
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

AOZ Voluntary Platform

master: Build Status | develop: Build Status

Ruby version: 2.4.2

Table of content

  1. Dependencies
  2. Developer Dependencies
  3. User seeds for development
  4. Create initial superadmin account
  5. Sort locale yaml files
  6. Importing from access db with rake task
  7. Run model, integration and controller tests
  8. Run system (acceptance) tests
  9. LICENSE

Dependencies

Developer Dependencies

User seeds for development

Use rails db:seed to get these users:

Create initial superadmin account

Sends an invitation email to the email address, so that the account can be activated:

$  rails setup:superadmin email=email@test.com

Ready to use with standard Password asdfasdf (No activation needed):

Only use this on testing servers that are unable to send emails (security risk)

$  rails setup:superadmin_initialized email=email@test.com

Sort locale yaml files

Run this task, in order to sort the locale files alphabetically.

$  rails i18n:sort

Importing from access db with rake task

Run in the command line:

$  rails access:import file=path/to/access_file.accdb

Run model, integration and controller tests

$ rails test

Run system (acceptance) tests

For system (acceptance) tests run:

$ rails test:system

For having chrome open and visible when running system tests locally:

$ rails test:system driver=visible

LICENSE

All the sources created are made available under the terms of the GNU Affero General Public License (GNU AGPLv3). See the GNU-AGPL-3.0.txt file for more details.

About

AOZ Voluntary platform (MOVED TO https://git.panter.ch/open-source/aoz-003)

Resources

License

Releases

No releases published

Packages

No packages published