docs: add default account info
This commit is contained in:
+10
-3
@@ -93,9 +93,6 @@ docker compose up -d
|
||||
git clone https://github.com/oiov/wr.do
|
||||
cd wr.do
|
||||
pnpm install
|
||||
|
||||
# 在 localhost:3000 上运行
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
#### 初始化数据库
|
||||
@@ -105,6 +102,16 @@ pnpm postinstall
|
||||
pnpm db:push
|
||||
```
|
||||
|
||||
```bash
|
||||
# 在 localhost:3000 上运行
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
- 默认账号(管理员):`admin@admin.com`
|
||||
- 默认密码:`123456`
|
||||
|
||||
> 登录后请及时修改密码
|
||||
|
||||
#### 管理员初始化
|
||||
|
||||
> 此初始化引导在 v1.0.2 版本后, 不再是必要步骤
|
||||
|
||||
@@ -103,11 +103,6 @@ pnpm install
|
||||
|
||||
copy `.env.example` to `.env` and fill in the necessary environment variables.
|
||||
|
||||
```bash
|
||||
# run on localhost:3000
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
#### Init database
|
||||
|
||||
```bash
|
||||
@@ -115,6 +110,14 @@ pnpm postinstall
|
||||
pnpm db:push
|
||||
```
|
||||
|
||||
```bash
|
||||
# run on localhost:3000
|
||||
pnpm dev
|
||||
```
|
||||
|
||||
- Default admin account:`admin@admin.com`
|
||||
- Default admin password:`123456`
|
||||
|
||||
#### Setup Admin Panel
|
||||
|
||||
> After v1.0.2, this setup guide is not needed anymore
|
||||
|
||||
@@ -193,6 +193,11 @@ pnpm dev
|
||||
|
||||
通过浏览器访问:[http://localhost:3000](http://localhost:3000)
|
||||
|
||||
- 默认账号(管理员):`admin@admin.com`
|
||||
- 默认密码:`123456`
|
||||
|
||||
> 登录后请及时修改密码
|
||||
|
||||
## 7. 部署教程
|
||||
|
||||
详见:[部署指南](/docs/developer/deploy)
|
||||
|
||||
@@ -182,6 +182,9 @@ pnpm dev
|
||||
```
|
||||
Via [http://localhost:3000](http://localhost:3000)
|
||||
|
||||
- Default admin account:`admin@admin.com`
|
||||
- Default admin password:`123456`
|
||||
|
||||
## 7. Deploy
|
||||
|
||||
See [Deploy Guide](/docs/developer/deploy).
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
|
||||
<url><loc>https://wr.do/api/feature</loc><lastmod>2025-06-11T09:48:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/robots.txt</loc><lastmod>2025-06-11T09:48:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/manifest.json</loc><lastmod>2025-06-11T09:48:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/opengraph-image.jpg</loc><lastmod>2025-06-11T09:48:19.047Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/robots.txt</loc><lastmod>2025-06-17T11:50:43.688Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/manifest.json</loc><lastmod>2025-06-17T11:50:43.688Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
<url><loc>https://wr.do/opengraph-image.jpg</loc><lastmod>2025-06-17T11:50:43.688Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
|
||||
</urlset>
|
||||
+101
-1
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user