Skip to content

Commit

Permalink
chore: update docs (usememos#2094)
Browse files Browse the repository at this point in the history
  • Loading branch information
boojack authored and lincolnthalles committed Oct 21, 2023
1 parent cae66df commit 81e0bdc
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 185 deletions.
18 changes: 0 additions & 18 deletions docs/custom-themes.md

This file was deleted.

133 changes: 0 additions & 133 deletions docs/deploy-with-render.md

This file was deleted.

20 changes: 10 additions & 10 deletions docs/development-windows.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Development
# Development in Windows

Memos is built with a curated tech stack. It is optimized for developer experience and is very easy to start working on the code:

Expand All @@ -8,7 +8,7 @@ Memos is built with a curated tech stack. It is optimized for developer experien

## Tech Stack

| Frontend | Backend |
| Frontend | Backend |
| ---------------------------------------- | --------------------------------- |
| [React](https://react.dev/) | [Go](https://go.dev/) |
| [Tailwind CSS](https://tailwindcss.com/) | [SQLite](https://www.sqlite.org/) |
Expand Down Expand Up @@ -75,16 +75,16 @@ go build -o ./build/memos.exe ./main.go
## ❕ Notes

- Start development servers easier by running the provided `start.ps1` script.
This will start both backend and frontend in detached PowerShell windows:
This will start both backend and frontend in detached PowerShell windows:

```powershell
.\scripts\start.ps1
```
```powershell
.\scripts\start.ps1
```

- Produce a local build easier using the provided `build.ps1` script to build both frontend and backend:

```powershell
.\scripts\build.ps1
```
```powershell
.\scripts\build.ps1
```

This will produce a memos.exe file in the ./build directory.
This will produce a memos.exe file in the ./build directory.
6 changes: 0 additions & 6 deletions docs/setup.md

This file was deleted.

11 changes: 0 additions & 11 deletions docs/updates.md

This file was deleted.

14 changes: 7 additions & 7 deletions docs/windows-service.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ nssm install memos "C:\path\to\memos.exe" --mode prod --port 5230
nssm set memos DisplayName "memos service"
# Configure extra service parameters
nssm set memos Description "A lightweight, self-hosted memo hub. https://usememos.com/"
nssm set memos Description "A lightweight, self-hosted memo hub. https://usememos.com/"
# Delay auto start
nssm set memos Start SERVICE_DELAYED_AUTO_START
Expand Down Expand Up @@ -54,7 +54,7 @@ Now, in the same directory, create the service configuration file `memos-service
<executable>%BASE%\memos.exe</executable>
<arguments>--mode prod --port 5230</arguments>
<delayedAutoStart>true</delayedAutoStart>
<log mode="none" />
<log mode="none" />
</service>
```

Expand Down Expand Up @@ -86,12 +86,12 @@ Also, by using one of the provided methods, the service will appear in the Windo

- On Windows, memos store its data in the following directory:

```powershell
$env:ProgramData\memos
# Typically, this will resolve to C:\ProgramData\memos
```
```powershell
$env:ProgramData\memos
# Typically, this will resolve to C:\ProgramData\memos
```

You may specify a custom directory by appending `--data <path>` to the service command line.
You may specify a custom directory by appending `--data <path>` to the service command line.

- If the service fails to start, you should inspect the Windows Event Viewer `eventvwr.msc`.

Expand Down

0 comments on commit 81e0bdc

Please sign in to comment.