Python 3.13.0
-
Clone the repository:
git clone https://github.com/yourusername/portable-nginx-cli.git cd portable-nginx-cli
-
Activate the virtual environment:
python3 -m venv venv source venv/bin/activate
-
Install the required dependencies:
pip3 install -r requirements.txt
To run the application, execute the following command in your terminal:
python src/main.py
For help, execute the following command in your terminal:
python3 src/main.py -h
To test the application using Docker, execute the following commands in your terminal:
./run-docker-test.sh images/reverse-proxy-node images/reverse-proxy-node/nginx.conf
To create a standalone executable, execute the following command in your terminal:
pyinstaller src/main.py --onefile
To create executable with Docker, run :
make build-linux
the executable will be in /bin directory.
To clean up the project directory and temp files, execute the following command in your terminal:
make clean