A package of webservices intended to organize content for graduation newspapers. It contains:
- a Nextcloud Instance for collaborative work
- a web app for submitting quotes and characteristics
- Install Docker and Docker Compose
- Clone the repo
- Change the default branding/localization to one that fits your own by editing the files in
src/views
- Add your own class and people data in
src/data
according to the example files - Rename
.env.example
to.env
and enter your values with the exception ofCHAR_FOLDER
,NEXTCLOUD_BOT_USERNAME
andNEXTCLOUD_BOT_PASSWORD
- Run
docker compose build && docker compose up -d
- Setup a reverse proxy like nginx
- It should map the endpoints of both of the docker containers to different base paths or subdomains
- It should serve assets (favicon, shortcut image, background image) under
/img/
- Access your Nextcloud instance via the browser and configure everything.
- Add a second user to your Nextcloud instance for the app container to use
- Run
docker compose down
- Add the new nextcloud credentials to the
.env
file - Enter the domain the Nextcloud instance is accessible under and its container name to the
Trusted Domains
property in theconfig.php
file in the Nextcloud volume - Run
docker compose build && docker compose up -d
To generate codes for the characteristics submission system, use Diurnum Codegen
This software is published under the General Public License V3