mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
13 lines
292 B
Bash
13 lines
292 B
Bash
#!/bin/bash
|
|
|
|
if [ "$(ls -A /etc/nginx)" = "" ]; then
|
|
echo "Initialing Nginx config dir"
|
|
cp -rp /usr/etc/nginx/* /etc/nginx/
|
|
echo "Initialed Nginx config dir"
|
|
fi
|
|
|
|
echo "export PATH=$PATH:/usr/local/go/bin:$(go env GOPATH)/bin" >> ~/.profile
|
|
source ~/.profile
|
|
|
|
nginx
|
|
cd /app && air
|