This project provides two scripts:
install.sh
: A script to install a tool script namedpy-create
.uninstall.sh
: A script to remove the installed tool and its installation scripts.
The primary purpose of these scripts is to simplify the process of installing, using, and managing the py-create
tool on any Linux system.
- README.md
- install.sh
- uninstall.sh
The main goal of this project is to provide:
- A simplified installation process for users who want to use the
py-create
tool. - An easy way to uninstall the tool if it's no longer needed.
Before using these scripts, ensure that you have the following installed on your system:
- Curl or Wget* (for downloading scripts)
- sudo (to run installation/uninstallation commands with administrative privileges)
Option A: Downloading from GitHub
-
Clone this repository to a directory of your choice:
git clone https://github.com/AlecJDavidson/py-create.git cd py-create
-
Make the scripts executable:
chmod +x install.sh uninstall.sh
-
Run the installation script with
sudo
:sudo ./install.sh
Option B: Direct Installation from GitHub
If you prefer a one-liner, you can use the following commands to download and run the installation script directly from this repository:
curl -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh | bash
OR
wget -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh && bash install.sh
After installation, you can use py-create
in any directory by simply running:
py-create -n my_project_name
If you need to remove the tool and its installation scripts, run:
sudo py-uninstall
Below are detailed steps for using these scripts.
- Open your terminal.
- Navigate to the directory where you want to clone the repository:
cd /path/to/your/directory
- Clone the repository by running:
git clone https://github.com/AlecJDavidson/py-create.git cd py-create
- Make sure both
install.sh
anduninstall.sh
are executable by running:chmod +x install.sh uninstall.sh
- Run the installation script with sudo:
sudo ./install.sh
If you prefer a one-liner, use the following commands:
curl -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh | bash
OR
wget -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh && bash install.sh
After installation, you can use py-create
in any directory by running:
py-create -n my_project_name
To remove the tool and its installation scripts, run:
sudo py-uninstall
- Open your terminal.
- Navigate to the directory where you want to clone the repository:
cd /path/to/your/directory
- Clone the repository by running:
git clone https://github.com/AlecJDavidson/py-create.git cd py-create
- Make sure both
install.sh
anduninstall.sh
are executable by running:chmod +x install.sh uninstall.sh
- Run the installation script with sudo:
sudo ./install.sh
If you prefer a one-liner, use the following commands:
curl -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh | bash
OR
wget -Ls https://raw.githubusercontent.com/AlecJDavidson/py-create/main/install.sh && bash install.sh
After installation, you can use py-create
in any directory by running:
py-create -n my_project_name
To remove the tool and its installation scripts, run:
sudo ./py-uninstall
- PATH Management: The scripts will add
/usr/local/bin
to your PATH if it's not already present. This ensures thatpy-create
is accessible from any directory. - SOURCE URL: Ensure the
install.sh
script points to a valid location where thepy-create
script can be downloaded. Update this URL if you want to use a different source.