Skip to content

fantufantu/solar

Repository files navigation

fantufantu 的服务端架构

使用了太阳系的命名方式。solar system

使用了 nestjs 的 monorepo 结构

  • pluto = 环境变量
  • mercury = 基础服务
  • venus = 记账服务
  • earth = 博客服务
  • mars = 简历服务
  • halley = graphql 集成服务

服务器重装系统步骤

  • apt update
  • apt upgrade
  • 安装 oh-my-zsh
  • apt install zsh -y
  • sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
  • 借助nvm安装nodejs

https://github.com/nvm-sh/nvm?tab=readme-ov-file#installing-and-updating

curl -fsSL https://deb.nodesource.com/setup_18.x | sudo -E bash - &&\
sudo apt-get install -y nodejs
  • 安装 pm2
npm i -g pm2
  • 安装 nginx
apt install -y nginx

About

番土番土服务端

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors