Scripts and templates to automate deployment and configuration of the Janssen Project
- Python 3.6+.
- Python
pip3
package.
-
Create virtual environment and activate:
python3 -m venv .venv source .venv/bin/activate
-
Install the package:
make install
This command will install executable called
jans-setup
available in virtual environmentPATH
.
-
Install shiv using
pip3
:pip3 install shiv
-
Install the package:
make zipapp
This command will generate executable called
jans-linux-setup.pyz
under the same directory.
Tested on CentOS 8, Ubuntu 18 and Ubuntu 20.
-
Build the installer as mentioned above
-
Run
python3 jans-setup.pyz
or if you used the
make install
command runjans-setup
.
Execute installer with -uninstall
argument
Run
`python3 jans-linux-setup.pyz -uninstall`
or if you used the `make install` command run `jans-setup -uninstall`.
First uninstall and then install