File tree Expand file tree Collapse file tree 1 file changed +25
-10
lines changed
content/docs/contribution Expand file tree Collapse file tree 1 file changed +25
-10
lines changed Original file line number Diff line number Diff line change @@ -15,24 +15,39 @@ Memos is built with a curated tech stack. It is optimized for developer experien
15
15
16
16
## Steps
17
17
18
- 1 . Clone the repo
18
+ #### 1. Backend Development
19
19
20
20
``` bash
21
- git clone https://github.com/usememos/memos
21
+ # Clone the repository
22
+ git clone https://github.com/usememos/memos.git
23
+ cd memos
24
+
25
+ # Install Go dependencies
26
+ go mod download
27
+
28
+ # Run the backend server
29
+ go run ./bin/memos/main.go --mode dev --port 8081
22
30
```
23
31
24
- 2 . Build and run backend server
32
+ #### 2. Frontend Development
25
33
26
34
``` bash
27
- sh scripts/build.sh
35
+ # Navigate to web directory
36
+ cd web
37
+
38
+ # Install dependencies
39
+ pnpm install
40
+
41
+ # Start development server
42
+ pnpm dev
28
43
```
29
44
30
- After a successful build, run the server following the build outputs.
45
+ The development servers will be available at:
31
46
32
- 3 . Start frontend
47
+ Backend API: http://localhost:8081
48
+ Frontend: http://localhost:3001
33
49
34
- ``` bash
35
- cd web && pnpm i && pnpm dev
36
- ```
50
+ The development servers will be available at:
37
51
38
- Memos should now be running at < http://localhost:3001 > .
52
+ Backend API: `http://localhost:8081`
53
+ Frontend: `http://localhost:3001`
You can’t perform that action at this time.
0 commit comments