Signup and account management app for Kosmos/LDAP Accounts
https://accounts.kosmos.org
Basti c33637003e | ||
---|---|---|
app | ||
bin | ||
config | ||
db | ||
lib | ||
log | ||
public | ||
spec | ||
tmp | ||
vendor | ||
.browserslistrc | ||
.drone.yml | ||
.env.example | ||
.env.production | ||
.env.test | ||
.gitignore | ||
.rspec | ||
.ruby-version | ||
Gemfile | ||
Gemfile.lock | ||
LICENSE | ||
Procfile.dev | ||
README.md | ||
Rakefile | ||
babel.config.js | ||
config.ru | ||
package.json | ||
postcss.config.js | ||
tailwind.config.js | ||
yarn.lock |
README.md
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.