Signup and account management app for Kosmos/LDAP Accounts https://accounts.kosmos.org
Go to file
Basti c33637003e
Upgrade to Rails 7, new JS build setup
2022-02-12 13:55:56 -06:00
app Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
bin Switch from Webpacker to cssbundling-rails, upgrade Tailwind 2022-02-11 17:23:31 -06:00
config Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
db Create LndHub accounts 2021-11-19 20:10:36 -06:00
lib Improve task for generating invitations 2021-11-28 10:40:09 -06:00
log Hello kosmos. 2020-11-07 14:49:52 +01:00
public Move SVG images to public folder 2022-01-12 19:37:12 -06:00
spec Fix exception during signup 2022-01-10 09:28:12 -06:00
tmp Hello kosmos. 2020-11-07 14:49:52 +01:00
vendor Hello kosmos. 2020-11-07 14:49:52 +01:00
.browserslistrc Hello kosmos. 2020-11-07 14:49:52 +01:00
.drone.yml Build CSS bundles in CI 2022-02-12 13:55:30 -06:00
.env.example Configure LndHub for production 2021-11-22 16:19:16 -06:00
.env.production Configure LndHub for production 2021-11-22 16:19:16 -06:00
.env.test Add lndhub config to test environment 2021-11-25 18:38:54 -06:00
.gitignore Switch from Webpacker to cssbundling-rails, upgrade Tailwind 2022-02-11 17:23:31 -06:00
.rspec Hello kosmos. 2020-11-07 14:49:52 +01:00
.ruby-version Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
Gemfile Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
Gemfile.lock Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
LICENSE Add AGPL license 2020-11-18 15:32:27 +01:00
Procfile.dev Switch from Webpacker to cssbundling-rails, upgrade Tailwind 2022-02-11 17:23:31 -06:00
README.md Remove feature list from README 2021-11-28 11:16:49 -06:00
Rakefile Hello kosmos. 2020-11-07 14:49:52 +01:00
babel.config.js Hello kosmos. 2020-11-07 14:49:52 +01:00
config.ru Hello kosmos. 2020-11-07 14:49:52 +01:00
package.json Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00
postcss.config.js Switch from Webpacker to cssbundling-rails, upgrade Tailwind 2022-02-11 17:23:31 -06:00
tailwind.config.js Switch from Webpacker to cssbundling-rails, upgrade Tailwind 2022-02-11 17:23:31 -06:00
yarn.lock Upgrade to Rails 7, new JS build setup 2022-02-12 13:55:56 -06:00

README.md

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:

bundle exec rails server

Running the background workers (requires Redis):

bundle exec sidekiq -C config/sidekiq.yml

Running all specs:

bundle exec rspec

LDAP server

TODO make it easy to run a local Kosmos LDAP server for development, without manual LDIF imports etc. (or provide a staging instance)

Documentation

Front-end

Caveat: if you only add Tailwind classes/directives to templates or helpers, but there's no change in the stylesheet files, then the new directives won't be compiled in production. In this case, count up the version comment at the top of app/javascript/stylesheets/application.scss to trigger compilation.

Testing

LDAP / Auth

Asynchronous jobs/workers

License

GNU Affero General Public License v3.0