File tree Expand file tree Collapse file tree 6 files changed +7701
-21755
lines changed Expand file tree Collapse file tree 6 files changed +7701
-21755
lines changed Original file line number Diff line number Diff line change @@ -19,36 +19,41 @@ The [daily.dev docs](https://docs.daily.dev/) are designed to help our community
19
19
Do this to download the forked copy of this repository to your computer:
20
20
21
21
``` bash
22
- $ git clone https://github.com/dailydotdev/docs.git
22
+ git clone https://github.com/dailydotdev/docs.git
23
23
```
24
24
25
25
Step into the directory:
26
26
``` bash
27
- $ cd docs
27
+ cd docs
28
+ ```
29
+
30
+ Ensure you are on the correct node version:
31
+ ``` bash
32
+ nvm use
28
33
```
29
34
30
35
Install the dependencies:
31
36
``` bash
32
37
# with npm
33
- $ npm i
38
+ npm i
34
39
35
40
# or with yarn
36
- $ yarn
41
+ yarn
37
42
38
43
# or with pnpm
39
- $ pnpm i
44
+ pnpm i
40
45
```
41
46
42
47
Run the local dev environment:
43
48
``` bash
44
49
# with npm
45
- $ npm run start
50
+ npm run start
46
51
47
52
# or with yarn
48
- $ yarn start
53
+ yarn start
49
54
50
55
# or with pnpm
51
- $ pnpm start
56
+ pnpm start
52
57
```
53
58
54
59
Now Visit:
@@ -62,25 +67,25 @@ http://localhost:3000
62
67
63
68
``` bash
64
69
# with npm
65
- $ npm run build
70
+ npm run build
66
71
67
72
# or with yarn
68
- $ yarn build
73
+ yarn build
69
74
70
75
# or with pnpm
71
- $ pnpm build
76
+ pnpm build
72
77
```
73
78
- Run the server:
74
79
75
80
``` bash
76
81
# with npm
77
- $ npm run serve
82
+ npm run serve
78
83
79
84
# or with yarn
80
- $ yarn serve
85
+ yarn serve
81
86
82
87
# or with pnpm
83
- $ pnpm serve
88
+ pnpm serve
84
89
```
85
90
The server is available by default on port ` 3000 ` .
86
91
@@ -89,13 +94,13 @@ The server is available by default on port `3000`.
89
94
From the folder where the docker-compose.yml file is located, type:
90
95
91
96
``` bash
92
- $ docker compose up --build
97
+ docker compose up --build
93
98
```
94
99
The server is available by default on port ` 3000 ` .
95
100
96
101
## 🍿 Test
97
102
``` bash
98
- $ docker run -p 3000:3000 francescoxx/dailydev-docs:0.9.3
103
+ docker run -p 3000:3000 francescoxx/dailydev-docs:0.9.3
99
104
```
100
105
101
106
## 🙏 Thanks to all Contributors
Original file line number Diff line number Diff line change 1
1
// @ts -check
2
2
// Note: type annotations allow type checking and IDEs autocompletion
3
3
4
- const lightCodeTheme = require ( 'prism-react-renderer/themes/github' ) ;
5
- const darkCodeTheme = require ( 'prism-react-renderer/themes/dracula' ) ;
4
+ const lightCodeTheme = require ( 'prism-react-renderer' ) . themes . github ;
5
+ const darkCodeTheme = require ( 'prism-react-renderer' ) . themes . dracula ;
6
6
7
7
/** @type {import('@docusaurus/types').Config } */
8
8
const config = {
@@ -81,7 +81,7 @@ const config = {
81
81
docId : 'intro' ,
82
82
position : 'left' ,
83
83
} ,
84
-
84
+
85
85
{
86
86
label : 'Changelog' ,
87
87
href : 'https://app.daily.dev/sources/daily_updates' ,
You can’t perform that action at this time.
0 commit comments