No description
- Python 66.5%
- HTML 30.4%
- CSS 2.3%
- Nix 0.8%
| dist | ||
| iaroapp | ||
| inventory | ||
| lib | ||
| tasks | ||
| tips | ||
| .gitignore | ||
| flake.lock | ||
| flake.nix | ||
| manage.py | ||
| README.md | ||
| requirements.txt | ||
| runtime.txt | ||
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
gitvia 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.