raucao 28b31e63f9
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone/pr Build is passing
Merge pull request 'Update Docker image in CI' (#75) from chore/ci_image_upgrade into feature/docker_compose
Reviewed-on: #75
2022-12-06 09:23:05 +00:00
2022-12-05 13:36:33 +01:00
2022-02-12 15:09:56 -06:00
2022-12-02 19:19:02 +01:00
2022-12-05 13:36:33 +01:00
2020-11-07 14:49:52 +01:00
2022-01-12 19:37:12 -06:00
2020-11-07 14:49:52 +01:00
2020-11-07 14:49:52 +01:00
2020-11-07 14:49:52 +01:00
2022-12-06 10:19:47 +01:00
2022-05-23 22:49:39 +02:00
2020-11-07 14:49:52 +01:00
2020-11-07 14:49:52 +01:00
2020-11-07 14:49:52 +01:00
2022-12-02 19:19:02 +01:00
2020-11-18 15:32:27 +01:00
2022-12-02 19:16:56 +01:00
2020-11-07 14:49:52 +01:00
2022-12-05 13:36:33 +01:00
2022-12-02 19:16:56 +01:00

Build Status

Akkounts

This app allows Kosmos/LDAP users to manage their accounts, including credentials, invites, donations, etc..

Development

Rails app

Installing dependencies:

bundle install
yarn install

Setting up local database (SQLite):

bundle exec rails db:create
bundle exec rails db:migrate

Running the dev server and auto-building CSS files on change:

bin/dev

Running the background workers (requires Redis):

bundle exec sidekiq -C config/sidekiq.yml

Running all specs:

bundle exec rspec

Docker (Compose)

There is a working Dockr Compose config file, which allows you to spin up both an app server for Rails as well as a local 389ds (LDAP) server.

By default, docker-compose up will only start the LDAP server, listening on port 389 on your machine. Uncomment other services in docker-compose.yml.

LDAP server

See the previous section for quickly spinning up an LDAP server with Docker (or edit your environment configuration to use an existing one).

After creating the Docker container for the first time (or after deleting it), you need to run the following command once, in order to create the dirsrv back-end:

docker-compose exec ldap dsconf localhost backend create --suffix="dc=kosmos,dc=org" --be-name="dev"

Now you can seed the back-end with data using this Rails task:

bundle exec rails ldap:seed

The seeds task will first delete any existing entries in the directory tree ("dc=kosmos,dc=org"), and then create our example/development entries.

Documentation

Front-end

Testing

LDAP / Auth

Asynchronous jobs/workers

License

GNU Affero General Public License v3.0

Description
Signup and account management app for Kosmos/LDAP Accounts
https://accounts.kosmos.org Readme AGPL-3.0 7.3 MiB
0.10.0 Latest
2024-09-13 12:33:17 +00:00
Languages
Ruby 53.6%
HTML 42.8%
JavaScript 1.9%
CSS 0.9%
TypeScript 0.6%
Other 0.1%