Skip to content

NemanjaMucalovic/wekan-with-pyinfra-and-podman

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Deploy Wekan Kanban Board with pyinfra and Podman

This project is meant to provide PoC for deployment of Wekan kanban dashboard (https://wekan.github.io), using pyinfra package to handle installation and configuration (https://pyinfra.com) while application itself is running using rootless Podman (https://podman.io) in combination with quadlet feature. Test for deployment are written using pytest-testinfra package (https://testinfra.readthedocs.io/en/latest/index.html)

Prerequisites

Fedora 38/39 Server/Cloud edition with ssh access without password for user that is going to be used in deployment. Python 3.8 is required on instance that is going to run script.

Installation

  1. git clone this project
git clone https://github.com/NemanjaMucalovic/wekan-with-pyinfra-and-podman.git
  1. Create python virtualenv inside repo root directory and activate it
python3 -m virtualenv venv && source venv/bin/activate
  1. install required dependencies
pip install requirements.txt
  1. Edit conf.json and replace example.com with the DNS/IP address of your Fedora instance, and replace ssh_user with the appropriate username.

  2. Run the following command (it will install required packages, copy files and start application):

pyinfra inventories/wekan.py deployment.py
  1. You can in order to verify that everything went well run tests:
pytest --hosts='ssh://{user}@{dns/ip}' 
  1. Open http://{dns/ip}:8080 in your browser.

If tests have passed but application is not reachable, check firewall settings or VPS access rules.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published