Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/soupi/gathering
A self hosted website for announcing group events
https://github.com/soupi/gathering
haskell hasql spock web
Last synced: about 2 months ago
JSON representation
A self hosted website for announcing group events
- Host: GitHub
- URL: https://github.com/soupi/gathering
- Owner: soupi
- License: apache-2.0
- Created: 2017-01-09T19:02:37.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2021-05-01T14:55:19.000Z (over 3 years ago)
- Last Synced: 2024-04-24T02:56:03.813Z (8 months ago)
- Topics: haskell, hasql, spock, web
- Language: Haskell
- Homepage:
- Size: 153 KB
- Stars: 39
- Watchers: 5
- Forks: 4
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Gathering is a self hosted website for announcing group events.
This project is also an excuse for me to learn about web development.
> License: Apache License 2.0
## Deps
This package requires:
- `stack`
- `postgresql-9.5+`
- `sendmail`## Setup
Here are the different `make` options:
- `setup`: Install GHC and deps for the package using stack
- `initdb`: Create the `gather` role and database and the relevant tables
- `build`: Build the haskell package
- `dev`: Continuously build on file changes - good for development
- `run`: Execute the server with the default settings
- `clean_all`: Delete the package build and the database
- `clean_db`: Drop the tables, the database and the 'gather' role## Configuration
[example.cfg](example.cfg) is an example configuration file you can use as a reference.
Use `gather --config example.cfg` to run gather with the configuration taken from the `example.cfg` file.
## Additional commands
- `gather add-admin --user soupi`: Promote the user `soupi` to admin
- `gather rem-admin --user soupi`: Demote the user `soupi` from being admin
- `gather del-user --user soupi`: Delete the user `soupi` from the system