You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 5cec386
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: desktop/docs/README.md
-4Lines changed: 0 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,7 +8,3 @@ npm run dev
8
8
```
9
9
10
10
The docs in this directory provide more details that some developers might find useful. You might also find the developer docs for [web](../../web/docs/README.md) useful.
11
-
12
-
## npm install
13
-
14
-
Use `npm ci` when installing dependencies since it uses the lockfile. Use plain `npm install` only when you are intentionally updating dependencies and reviewing the resulting `package-lock.json` changes.
Copy file name to clipboardExpand all lines: desktop/docs/dev.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,6 +2,10 @@
2
2
3
3
## npm commands
4
4
5
+
### npm install
6
+
7
+
Use `npm ci` when installing dependencies since it uses the lockfile. Use plain `npm install` only when you are intentionally updating dependencies and reviewing the resulting `package-lock.json` changes.
Copy file name to clipboardExpand all lines: docs/docs/self-hosting/installation/manual.md
+11-13Lines changed: 11 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,16 +44,14 @@ If you wish to run Ente from source without using Docker, follow the steps descr
44
44
sudo apt install pkg-config
45
45
```
46
46
47
-
4. **yarn, npm and Node.js:** Needed for building the web application.
47
+
4. **npm and Node.js:** Needed for building the web application.
48
48
49
49
Install npm and Node using your package manager.
50
50
51
51
```shell
52
52
sudo apt install npm nodejs
53
53
```
54
54
55
-
Install yarn by following the [official documentation](https://yarnpkg.com/getting-started/install)
56
-
57
55
5. **Git:** Needed forcloning the repository and pullingin latest changes
58
56
59
57
6. **Caddy:** Used for setting reverse proxy and file servers
@@ -158,15 +156,15 @@ Museum should be accessible at `http://localhost:8080`
158
156
159
157
## Step 4: Configure Web Application
160
158
161
-
1. Install the dependencies for web application. Enable corepack if prompted.
159
+
1. Install the dependencies for web application.
162
160
163
161
```shell
164
162
# Change into web directory, this is where all the applications
165
163
# will be managed and built
166
164
cd ../web
167
165
168
166
# Install dependencies
169
-
yarn install --frozen-lockfile
167
+
npm ci
170
168
```
171
169
172
170
2. Configure the environment variables in your corresponding shell's configuration file (`.bashrc`, `.zshrc`)
@@ -181,28 +179,28 @@ Museum should be accessible at `http://localhost:8080`
181
179
```shell
182
180
# These commands are executed inside web directory
183
181
# Build photos. Build output to be served is present at apps/photos/out
184
-
yarn build
182
+
npm run build
185
183
186
184
# Build albums. Build output to be served is present at apps/albums/out
187
-
yarn build:albums
185
+
npm run build:albums
188
186
189
187
# Build accounts. Build output to be served is present at apps/accounts/out
190
-
yarn build:accounts
188
+
npm run build:accounts
191
189
192
190
# Build auth. Build output to be served is present at apps/auth/out
193
-
yarn build:auth
191
+
npm run build:auth
194
192
195
193
# Build cast. Build output to be served is present at apps/cast/out
196
-
yarn build:cast
194
+
npm run build:cast
197
195
198
196
# Build public locker. Build output to be served is present at apps/share/out
199
-
yarn build:share
197
+
npm run build:share
200
198
201
199
# Build embed. Build output to be served is present at apps/embed/out
202
-
yarn build:embed
200
+
npm run build:embed
203
201
204
202
# Build memories. Build output to be served is present at apps/memories/out
205
-
yarn build:memories
203
+
npm run build:memories
206
204
```
207
205
208
206
4. Copy the output files to `/var/www/ente/apps` for easier management.
0 commit comments