Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/lblod/app-local-harvester
https://github.com/lblod/app-local-harvester
Last synced: 22 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/lblod/app-local-harvester
- Owner: lblod
- License: mit
- Created: 2024-07-15T12:59:12.000Z (5 months ago)
- Default Branch: master
- Last Pushed: 2024-07-30T13:41:44.000Z (5 months ago)
- Last Synced: 2024-07-30T17:02:08.289Z (5 months ago)
- Language: Common Lisp
- Size: 38.1 KB
- Stars: 0
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# app-local-harvester
## wip
### Authentication
By default this application requires authentication. You can generate a migration to add a user account by using [mu-cli](https://github.com/mu-semtech/mu-cli) and running the included project script.
```sh
mu script project-scripts generate-account
```This should generate a migration for you to add the user account.
Afterwards make sure to restart the migration service to execute the migration```sh
docker compose restart migrations
```If you wish to run this application without authentication, this is also possible. You'll need to make the following changes:
```diff
#config/authorization/config.ex
%GroupSpec{
name: "harvesting",
useage: [:write, :read_for_write, :read],
- access: logged_in_user(),
+ access: %AlwaysAccessible{},
``````diff
#docker-compose.yml
identifier:
environment:
- DEFAULT_MU_AUTH_ALLOWED_GROUPS_HEADER: '[{"variables":[],"name":"public"},{"variables":[],"name":"clean"}]'
+ DEFAULT_MU_AUTH_ALLOWED_GROUPS_HEADER: '[{"variables":[],"name":"public"},{"variables":[],"name":"harvesting"}, {"variables":[],"name":"clean"}]'
frontend:
environment
- EMBER_AUTHENTICATION_ENABLED: "true"
+ EMBER_AUTHENTICATION_ENABLED: "false"
```