A web application that simulates a pet clinic.
cd backend/src
npm install
node server.js
cd frontend/petclinicmock_frontend
npm ci
npm run serve
以阿里云为例
yum install git -y
git config --global user.name "xxx"
git config --global user.email "xxxxxxx@qq.com"
ssh-keygen -t rsa -C 'xxxxxxx@qq.com'
git clone ssh路径
yum install -y httpd
systemctl start httpd
systemctl enable httpd
systemctl status httpd
echo ". ~/.nvm/nvm.sh" >> /etc/profile
source /etc/profile
export NVM_NODEJS_ORG_MIRROR=https://npmmirror.com/mirrors/node
nvm list-remote
nvm install v20.12.0
nvm use v20.12.0
sudo systemctl stop firewalld
tar -zxvf redis-6.2.4.tar.gz
mv redis-6.2.4 /usr/local/
cd /usr/local/redis-6.2.4/
make
./bin/redis-server ./redis.conf
chmod 777 bin/redis-server redis.conf
./bin/redis-cli
sudo systemctl disable firewalld
yum install screen
screen -ls
screen -S [name]
run Backend Server
run Frontend Server