mirror of
https://github.com/0xJacky/nginx-ui.git
synced 2025-05-10 18:05:48 +02:00
24 lines
582 B
Bash
Executable file
24 lines
582 B
Bash
Executable file
#!/bin/bash
|
|
|
|
# install zsh-autosuggestions
|
|
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/custom/plugins/zsh-autosuggestions
|
|
|
|
if ! grep -q "zsh-autosuggestions" ~/.zshrc; then
|
|
# add zsh-autosuggestions to plugins list
|
|
sed -i "/^plugins=(/s/)/ zsh-autosuggestions)/" ~/.zshrc
|
|
fi
|
|
|
|
# init nginx config dir
|
|
./.devcontainer/init-nginx.sh
|
|
|
|
# install app dependencies
|
|
echo "Installing app dependencies"
|
|
cd app && pnpm install -f
|
|
# Build app
|
|
pnpm build
|
|
cd ..
|
|
|
|
# install docs dependencies
|
|
echo "Installing docs dependencies"
|
|
cd docs && pnpm install -f
|
|
cd ..
|