Optimized setup procedure
This commit is contained in:
10
Makefile
Normal file
10
Makefile
Normal file
@@ -0,0 +1,10 @@
|
||||
.PHONY: install setup
|
||||
|
||||
setup: install
|
||||
@python main.py install
|
||||
|
||||
install:
|
||||
@echo "Making 'main.py' executable..."
|
||||
@chmod +x main.py
|
||||
@echo "Installing packages from 'requirements.txt'..."
|
||||
@pip install -r requirements.txt
|
||||
13
README.md
13
README.md
@@ -24,22 +24,27 @@
|
||||
- **Custom Aliases:**
|
||||
Generate and manage custom aliases for easy command invocation.
|
||||
|
||||
|
||||
## Installation ⚙️
|
||||
|
||||
Clone the repository and make sure your `~/.local/bin` is in your system PATH:
|
||||
Clone the repository and ensure your `~/.local/bin` is in your system PATH:
|
||||
|
||||
```bash
|
||||
git clone https://github.com/kevinveenbirkenbach/package-manager.git
|
||||
cd package-manager
|
||||
chmod +x main.py
|
||||
```
|
||||
|
||||
Then install or update your commands:
|
||||
Then, run the following command to set up the project:
|
||||
|
||||
```bash
|
||||
./main.py install --all
|
||||
make setup
|
||||
```
|
||||
|
||||
The `make setup` command will:
|
||||
- Make `main.py` executable.
|
||||
- Install required packages from `requirements.txt`.
|
||||
- Execute `python main.py install` to complete the installation.
|
||||
|
||||
## Usage 📖
|
||||
|
||||
Run the script with different commands. For example:
|
||||
|
||||
1
requirements.txt
Normal file
1
requirements.txt
Normal file
@@ -0,0 +1 @@
|
||||
yaml
|
||||
Reference in New Issue
Block a user