Add installation instructions
This commit is contained in:
parent
15fa581e6a
commit
b94d8ffeb6
30
README.md
30
README.md
@ -1,4 +1,28 @@
|
|||||||
# Update package list and install pip
|
## Deployment Instructions
|
||||||
|
|
||||||
sudo apt-get update
|
1. Install Python and pip:
|
||||||
sudo apt-get install -y python3-pip
|
|
||||||
|
```sh
|
||||||
|
sudo apt-get update
|
||||||
|
sudo apt-get install -y python3-pip
|
||||||
|
```
|
||||||
|
|
||||||
|
2. Clone the repository:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
git clone https://github.com/yourusername/my_service.git
|
||||||
|
cd my_service
|
||||||
|
```
|
||||||
|
|
||||||
|
3. Make the install script executable:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
chmod +x install.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
4. Run the install script to install dependencies and configure the service:
|
||||||
|
```sh
|
||||||
|
./install.sh
|
||||||
|
```
|
||||||
|
|
||||||
|
The service should now be installed, enabled to start on boot, and running.
|
||||||
|
Loading…
Reference in New Issue
Block a user