No description
This repository has been archived on 2026-06-30. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
  • Python 66.5%
  • HTML 30.4%
  • CSS 2.3%
  • Nix 0.8%
Find a file
2023-04-20 16:18:15 +02:00
dist allow vpn access to app.iaro.co 2023-02-25 14:55:51 +01:00
iaroapp add shifts to dashboard 2023-04-20 16:09:07 +02:00
inventory fix latest update date for inventory page 2023-04-20 14:23:06 +02:00
lib add shifts to dashboard 2023-04-20 16:09:07 +02:00
tasks add shifts to dashboard 2023-04-20 16:09:07 +02:00
tips cleanup duplicate code 2023-04-20 12:28:44 +02:00
.gitignore tips: integrated planday schedule 2023-03-10 12:43:38 +01:00
flake.lock update nix flake 2023-04-20 12:10:19 +02:00
flake.nix add shifts to dashboard 2023-04-20 16:09:07 +02:00
manage.py refactor database schemas 2023-01-07 11:17:51 +01:00
README.md add docu about planday credentials 2023-04-20 16:18:15 +02:00
requirements.txt add shifts to dashboard 2023-04-20 16:09:07 +02:00
runtime.txt inital commit 2023-01-05 18:51:23 +01:00

iaroapp

Overview

What is already supported

  • Administration interface
  • Managing users and groups
  • Adding tasks (admin)
  • Adding items to the inventory list (admin)

Install

On MacOS

sh <(curl -L https://nixos.org/nix/install)
mkdir -p ~/.config/nix
echo 'experimental-features = nix-command flakes' >> ~/.config/nix/nix.conf
# Restart terminal after successfull installation
nix run nixpkgs#git clone https://git.project-insanity.org/onny/iaroapp.git

On Synology

Requirements

  • Setup user home directories, see here
  • Add Synocommunity Repo, see here
  • Install git via Synology Software Center
cd /usr/share
sudo git clone https://git.project-insanity.org/onny/iaroapp.git
chown -R http:http iaroapp
cd iaroapp
sudo -u http python3 -m ensurepip
sudo -u http python3 -m pip install -r requirements.txt
cp dist/iaroapp.service /etc/systemd/system/
cp dist/app.iaro.co.conf /etc/nginx/sites-enabled/
systemctl enable iaroapp
systemctl start iaroapp
systemctl reload nginx

Configure

Create admin user

cd iaroapp
nix develop
python3 manage.py createsuperuser

Create .env file in the project root folder and add the Planday credentials

CLIENT_ID=
REFRESH_TOKEN=

Run

cd iaroapp
nix develop
nix run

Open http://localhost:8000. To access the admin panel go to http://localhost:8000/admin.

Documentation

Where are the template files stored?