This is my personal website frontend project.
I'm glad to share the website with you.
Notice: the stacks and the dependencies of the project maybe out of date.
| type | stack | memo |
|---|---|---|
| Language | JavaScript | |
| Framework | Nuxt2 | |
| Framework | Vue2 | optional api |
| Style | SCSS | |
| Style | TailwindCSS | a small part |
| key | example |
|---|---|
| SERVER_HOST | 0.0.0.0 |
| SERVER_PORT | 3000 |
| SITE_NAME | |
| SITE_DESCRIPTION | |
| SITE_KEYWORDS | |
| API_BASEURL | https://api.shermant.com/v1 |
| OSS_BASEURL | https://oss.shermant.com |
git pull https://github.com/ShermanTsang/sherman-box.git
mv .env-example .envThen, set them.
npm install
yarn i
pnpm i
bun inpm run dev
yarn run dev
pnpm run dev
bun run dev# pull from dockerhub
docker pull shermantsang/sherman-box:latest
# pull from github
docker pull ghcr.io/shermantsang/sherman-box:masterYou need to pass required env options in command
docker run -d
-p 3000:3000
-e SERVER_HOST=0.0.0.0
-e SERVER_PORT=3000
-e SITE_NAME="曾小满的盒子-ShermanBox"
-e SITE_DESCRIPTION="recordMyLife"
-e SITE_KEYWORDS="曾小满,小满,个人网站,个人博客,ShareMan,ShareManT,ShareManTsang,ShermanT"
-e API_BASEURL="https://api.shermant.com/v1"
-e OSS_BASEURL="https://oss.shermant.com"
-e SERVICE_BAIDU_ANALYZE_ID="15a2c685afbd639a5537af013711da1e"
--name sherman-box-fronted
sherman-box:latestPull the project, set configurations, install dependencies like the steps mentioned in Usage > Run on a server.
A pm2 configuration has included in project, you can customize your project instance by editing .ecosystem.config.js.
pm2 startContributions are welcome! Please feel free to submit a Pull Request.
This project is open source and available under the MIT License.
I hope you find Sherman-Box useful! If you have any questions or feedback, please open an issue on GitHub.