Templating README
This commit is contained in:
parent
8b516c1934
commit
2cdb62550a
@ -57,7 +57,7 @@ sudo bash install-erpnext
|
||||
|
||||
```
|
||||
curl -fsSL https://get.docker.com -o get-docker.sh && sh get-docker.sh
|
||||
curl -L "https://github.com/docker/compose/releases/download/v2.1.1/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
curl -L "https://github.com/docker/compose/releases/download/1.29.0/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
|
||||
sudo chmod +x /usr/local/bin/docker-compose
|
||||
ln -sf /usr/local/bin/docker-compose /usr/bin
|
||||
sudo systemctl start docker
|
||||
|
||||
@ -67,7 +67,7 @@ We assume that you are already familiar with Docker, and you can modify [docker-
|
||||
git clone --depth=1 https://github.com/Websoft9/docker-erpnext
|
||||
cd docker-erpnext
|
||||
public_ip=`wget -O - https://download.websoft9.com/ansible/get_ip.sh | bash`
|
||||
sudo sed -i s/APP_SITE_URL.*/APP_SITE_URL=$public_ip/g ./.env
|
||||
sudo sed -i s/erp.example.com/$public_ip/g ./.env
|
||||
docker-compose up -d
|
||||
```
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user