AOZ Voluntary platform (MOVED TO https://git.panter.ch/open-source/aoz-003)
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github
app
bin
config
db
lib
log
public
test
tmp
vendor
.editorconfig
.eslintrc.json
.gitignore
.gitlab-ci.yml
.overcommit.yml
.rubocop.yml
.ruby-version
.sass-lint.yml
.travis.yml
Capfile
GNU-AGPL-3.0.txt
Gemfile
Gemfile.lock
LICENSE
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

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.