Skip to content

Commit 31dc85e

Browse files
author
Dan
committed
Switch to pnpM
1 parent 8920aa8 commit 31dc85e

16 files changed

+2289
-2203
lines changed

.github/workflows/playwright.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@ jobs:
1414
with:
1515
node-version: '14.x'
1616
- name: Install dependencies
17-
run: yarn
17+
run: pnpm install
1818
- name: Install Playwright Browsers
1919
run: npx playwright install --with-deps
2020
- name: Run Playwright tests
21-
run: yarn playwright test
21+
run: pnpm playwright test
2222
- uses: actions/upload-artifact@v2
2323
if: always()
2424
with:

Dockerfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM node:16
1+
FROM gplane/pnpm:alpine@sha256:59ce8b532fc0834aee90bb9c366c6a4b05e03f3ced246e2edcdcc04939cca207 as pnpm-alpine
22
EXPOSE 1234
33
WORKDIR /home/node/app
4-
CMD [ "yarn", "dev", "--port", "1234" ]
4+
CMD [ "ash", "-c", "pnpm install && pnpm dev --port 1234" ]

README-cn.md

+11-11
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Instalution旨在成为Instagram的一个革命性的解决方案。
2020

2121
目前有四种方法可以支持Instalution的启动和运行。你只需要选择一种方法。
2222

23-
### Yarn方法
23+
### pnpM方法
2424

25-
- [Yarn](https://yarnpkg.com/)
25+
- [pnpM](https://pnpm.io/installation)
2626

2727
### Docker Compose方法
2828

@@ -40,33 +40,33 @@ Instalution旨在成为Instagram的一个革命性的解决方案。
4040

4141
## 安装Instalution
4242

43-
### 选项1:用Yarn安装Instalution
44-
1) `git clone https://github.com/instalution/frontend.git `.
45-
2) `cd instalution
46-
3) `yarn'。
47-
4) `yarn next telemetry disable`
43+
### 选项1:用pnpM安装Instalution
44+
1) `git clone https://github.com/instalution/frontend.git instalution`
45+
2) `cd instalution`
46+
3) `pnpm install`
47+
4) `pnpm next telemetry disable`
4848
5) [从Instagram下载你的数据档案](https://help.instagram.com/181231772500920)
4949
6) 将存档中的`media/posts/`目录的内容提取到`./public/accounts/[archive_folder_name]`。基础文件夹名称将成为用户名,Instalution将读取每个子文件夹中的每张图片和视频。
50-
7) `yarn dev` -- Instalution现在应该可以在http://localhost:1234。
50+
7) `pnpm dev` -- Instalution现在应该可以在http://localhost:1234。
5151

5252
###选项2:用Docker Compose安装Instalution
53-
1) `git clone https://github.com/instalution/frontend.git`
53+
1) `git clone https://github.com/instalution/frontend.git instalution`
5454
2) `cd instalution `
5555
3) [从Instagram下载你的数据档案](https://help.instagram.com/181231772500920)
5656
4) 将存档中的`media/posts/`目录的内容提取到`./public/accounts/[archive_folder_name]`。基础文件夹名称将成为用户名,Instalution将读取每个子文件夹中的每张图片和视频。
5757
5) `docker-compose up` -- Instalution现在应该可以在http://localhost:1234。
5858

5959
###选项3:用Dockerfile安装Instalution
6060

61-
1) `git clone https://github.com/instalution/frontend.git`
61+
1) `git clone https://github.com/instalution/frontend.git instalution`
6262
2) `cd instalution`
6363
3) [从Instagram下载你的数据档案](https://help.instagram.com/181231772500920)
6464
4) 将存档中的`media/posts/`目录的内容提取到`./public/accounts/[archive_folder_name]`。基础文件夹名称将成为用户名,Instalution将读取每个子文件夹中的每张图片和视频。
6565
5) `docker build --tag=frontend .`
6666
6) `docker run --volume=$(pwd):/home/node/app --publish 1234:1234 frontend` -- Instalution现在应该可以在http://localhost:1234。
6767

6868
###选项4:用Vagrant安装Instalution
69-
1) `git clone https://github.com/instalution/frontend.git `.
69+
1) `git clone https://github.com/instalution/frontend.git instalution`
7070
2) `cd instalution `
7171
3) [从Instagram下载你的数据档案](https://help.instagram.com/181231772500920)
7272
4) 将存档中的`media/posts/`目录下的内容提取到`./public/accounts/[archive_folder_name]`。基础文件夹名称将成为用户名,Instalution将读取每个子文件夹中的每张图片和视频。

README-de.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Sie sind eingeladen, sich einer der Gruppen anzuschließen:
2020

2121
Es gibt derzeit vier unterstützte Methoden, um mit Instalution loszulegen. Sie müssen sich nur für eine Methode entscheiden:
2222

23-
### Yarn-Methode
23+
### pnpM-Methode
2424

25-
- [Yarn](https://yarnpkg.com/)
25+
- [pnpM](https://pnpm.io/installation)
2626

2727
### Docker Compose Methode
2828

@@ -40,33 +40,33 @@ Es gibt derzeit vier unterstützte Methoden, um mit Instalution loszulegen. Sie
4040

4141
## Installation von Instalution
4242

43-
### Option 1: Installation von Instalution mit Yarn
44-
1) `git clone https://github.com/instalution/frontend.git`
43+
### Option 1: Installation von Instalution mit pnpM
44+
1) `git clone https://github.com/instalution/frontend.git instalution`.
4545
2) `cd instalution`
46-
3) `yarn`
47-
4) `yarn next telemetry disable`
46+
3) `pnpm install`
47+
4) `pnpm next telemetry disable`
4848
5) [Lade ein Archiv](https://help.instagram.com/181231772500920) deiner Daten von Instagram herunter
4949
6) Entpacken Sie den Inhalt des Verzeichnisses `media/posts/` im Archiv nach `./public/accounts/[archive_folder_name]`. Der Name des Basisordners wird zum Benutzernamen, und Instalution liest alle Bilder und Videos in jedem Unterordner.
50-
7) `yarn dev` -- Instalution sollte nun unter http://localhost:1234 verfügbar sein.
50+
7) `pnpm dev` -- Instalution sollte nun unter http://localhost:1234 verfügbar sein.
5151

5252
### Option 2: Installation von Instalution mit Docker Compose
53-
1) `git clone https://github.com/instalution/frontend.git`
53+
1) `git clone https://github.com/instalution/frontend.git instalution`.
5454
2) `cd instalution`
5555
3) [Laden Sie ein Archiv](https://help.instagram.com/181231772500920) mit Ihren Daten von Instagram herunter
5656
4) Entpacken Sie den Inhalt des Verzeichnisses `media/posts/` im Archiv nach `./public/accounts/[archive_folder_name]`. Der Name des Basisordners wird zum Benutzernamen, und Instalution liest alle Bilder und Videos in jedem Unterordner aus.
5757
5) `docker-compose up` -- Instalution sollte nun unter http://localhost:1234 verfügbar sein.
5858

5959
### Option 3: Installation von Instalution mit Dockerfile
6060

61-
1) `git clone https://github.com/instalution/frontend.git`
61+
1) `git clone https://github.com/instalution/frontend.git instalution`.
6262
2) `cd instalution`
6363
3) [Laden Sie ein Archiv](https://help.instagram.com/181231772500920) mit Ihren Daten von Instagram herunter
6464
4) Entpacken Sie den Inhalt des Verzeichnisses `media/posts/` im Archiv nach `./public/accounts/[archive_folder_name]`. Der Name des Basisordners wird zum Benutzernamen, und Instalution liest alle Bilder und Videos in jedem Unterordner.
6565
5) `docker build --tag=frontend .`
6666
6) `docker run --volume=$(pwd):/home/node/app --publish 1234:1234 frontend` -- Instalution sollte nun unter http://localhost:1234 verfügbar sein.
6767

6868
### Option 4: Installation von Instalution mit Vagrant
69-
1) `git clone https://github.com/instalution/frontend.git`
69+
1) `git clone https://github.com/instalution/frontend.git instalution`.
7070
2) `cd instalution`
7171
3) [Laden Sie ein Archiv](https://help.instagram.com/181231772500920) mit Ihren Daten von Instagram herunter
7272
4) Entpacken Sie den Inhalt des Verzeichnisses `media/posts/` des Archivs nach `./public/accounts/[archive_folder_name]`. Der Name des Basisordners wird zum Benutzernamen, und Instalution liest alle Bilder und Videos in jedem Unterordner.

README-en.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ You are invited to join one of the groups:
2020

2121
There are currently four supported methods for getting up and running with Instalution. You only need to pick one method:
2222

23-
### Yarn Method
23+
### pnpM Method
2424

25-
- [Yarn](https://yarnpkg.com/)
25+
- [pnpM](https://pnpm.io/installation)
2626

2727
### Docker Compose Method
2828

@@ -40,33 +40,33 @@ There are currently four supported methods for getting up and running with Insta
4040

4141
## Installing Instalution
4242

43-
### Option 1: Installing Instalution with Yarn
44-
1) `git clone https://github.com/instalution/frontend.git`
43+
### Option 1: Installing Instalution with pnpM
44+
1) `git clone https://github.com/instalution/frontend.git instalution`
4545
2) `cd instalution`
46-
3) `yarn`
47-
4) `yarn next telemetry disable`
46+
3) `pnpm install`
47+
4) `pnpm next telemetry disable`
4848
5) [Download an archive](https://help.instagram.com/181231772500920) of your data from Instagram
4949
6) Extract the contents of the `media/posts/` directory in the archive to `./public/accounts/[archive_folder_name]`. The base folder name will become the username, and Instalution will read every image and video in every subfolder.
50-
7) `yarn dev` -- Instalution should now be available at http://localhost:1234
50+
7) `pnpm dev` -- Instalution should now be available at http://localhost:1234
5151

5252
### Option 2: Installing Instalution with Docker Compose
53-
1) `git clone https://github.com/instalution/frontend.git`
53+
1) `git clone https://github.com/instalution/frontend.git instalution`
5454
2) `cd instalution`
5555
3) [Download an archive](https://help.instagram.com/181231772500920) of your data from Instagram
5656
4) Extract the contents of the `media/posts/` directory in the archive to `./public/accounts/[archive_folder_name]`. The base folder name will become the username, and Instalution will read every image and video in every subfolder.
5757
5) `docker-compose up` -- Instalution should now be available at http://localhost:1234
5858

5959
### Option 3: Installing Instalution with Dockerfile
6060

61-
1) `git clone https://github.com/instalution/frontend.git`
61+
1) `git clone https://github.com/instalution/frontend.git instalution`
6262
2) `cd instalution`
6363
3) [Download an archive](https://help.instagram.com/181231772500920) of your data from Instagram
6464
4) Extract the contents of the `media/posts/` directory in the archive to `./public/accounts/[archive_folder_name]`. The base folder name will become the username, and Instalution will read every image and video in every subfolder.
6565
5) `docker build --tag=frontend .`
6666
6) `docker run --volume=$(pwd):/home/node/app --publish 1234:1234 frontend` -- Instalution should now be available at http://localhost:1234
6767

6868
### Option 4: Installing Instalution with Vagrant
69-
1) `git clone https://github.com/instalution/frontend.git`
69+
1) `git clone https://github.com/instalution/frontend.git instalution`
7070
2) `cd instalution`
7171
3) [Download an archive](https://help.instagram.com/181231772500920) of your data from Instagram
7272
4) Extract the contents of the `media/posts/` directory in the archive to `./public/accounts/[archive_folder_name]`. The base folder name will become the username, and Instalution will read every image and video in every subfolder.

README-es.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Le invitamos a unirse a uno de los grupos:
2020

2121
Actualmente hay cuatro métodos soportados para ponerse en marcha con Instalution. Sólo tienes que elegir un método:
2222

23-
### Método Yarn
23+
### Método pnpM
2424

25-
- [Yarn](https://yarnpkg.com/)
25+
- [pnpM](https://pnpm.io/installation)
2626

2727
### Método Docker Compose
2828

@@ -40,33 +40,33 @@ Actualmente hay cuatro métodos soportados para ponerse en marcha con Instalutio
4040

4141
## Instalación de Instalution
4242

43-
### Opción 1: Instalar Instalution con Yarn
44-
1) `git clone https://github.com/instalution/frontend.git`
43+
### Opción 1: Instalar Instalution con pnpM
44+
1) `git clone https://github.com/instalution/frontend.git instalution`.
4545
2) `cd instalution`
46-
3) `yarn`
47-
4) `yarn next telemetry disable`
46+
3) `pnpm install`
47+
4) `pnpm next telemetry disable`
4848
5) [Descarga un archivo](https://help.instagram.com/181231772500920) de tus datos desde Instagram
4949
6) Extrae el contenido del directorio `media/posts/` del archivo a `./public/accounts/[archive_folder_name]`. El nombre de la carpeta base se convertirá en el nombre de usuario, e Instalution leerá cada imagen y vídeo en cada subcarpeta.
50-
7) `yarn dev` -- Instaluación debería estar ahora disponible en http://localhost:1234
50+
7) `pnpm dev` -- Instaluación debería estar ahora disponible en http://localhost:1234
5151

5252
### Opción 2: Instalar Instalution con Docker Compose
53-
1) `git clone https://github.com/instalution/frontend.git`
53+
1) `git clone https://github.com/instalution/frontend.git instalution`.
5454
2) `cd instalution`
5555
3) [Descarga un archivo](https://help.instagram.com/181231772500920) de tus datos desde Instagram
5656
4) Extrae el contenido del directorio `media/posts/` del archivo a `./public/accounts/[archive_folder_name]`. El nombre de la carpeta base se convertirá en el nombre de usuario, e Instalution leerá cada imagen y vídeo en cada subcarpeta.
5757
5) `docker-compose up` -- Instalution debería estar ahora disponible en http://localhost:1234
5858

5959
### Opción 3: Instalar Instalution con Dockerfile
6060

61-
1) `git clone https://github.com/instalution/frontend.git`
61+
1) `git clone https://github.com/instalution/frontend.git instalution`.
6262
2) `cd instalution`
6363
3) [Descarga un archivo](https://help.instagram.com/181231772500920) de tus datos desde Instagram
6464
4) Extrae el contenido del directorio `media/posts/` del archivo a `./public/accounts/[archive_folder_name]`. El nombre de la carpeta base se convertirá en el nombre de usuario, e Instalution leerá cada imagen y vídeo en cada subcarpeta.
6565
5) `docker build --tag=frontend .`
6666
6) `docker run --volume=$(pwd):/home/node/app --publish 1234:1234 frontend` -- Instalution debería estar ahora disponible en http://localhost:1234
6767

6868
### Opción 4: Instalar Instalution con Vagrant
69-
1) `git clone https://github.com/instalution/frontend.git`
69+
1) `git clone https://github.com/instalution/frontend.git instalution`.
7070
2) `cd instalution`
7171
3) [Descargue un archivo](https://help.instagram.com/181231772500920) de sus datos desde Instagram
7272
4) Extrae el contenido del directorio `media/posts/` del archivo a `./public/accounts/[archive_folder_name]`. El nombre de la carpeta base se convertirá en el nombre de usuario, e Instalution leerá todas las imágenes y vídeos de cada subcarpeta.

README-fr.md

+10-10
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ Vous êtes invité à vous joindre à l'un de ces groupes :
2020

2121
Il y a actuellement quatre méthodes pour démarrer avec Instalution. Vous ne devez choisir qu'une seule méthode :
2222

23-
### Méthode Yarn
23+
### Méthode pnpM
2424

25-
- [Yarn](https://yarnpkg.com/)
25+
- [pnpM](https://pnpm.io/installation)
2626

2727
### Méthode Docker Compose
2828

@@ -40,33 +40,33 @@ Il y a actuellement quatre méthodes pour démarrer avec Instalution. Vous ne de
4040

4141
## Installation d'Instalution
4242

43-
### Option 1 : Installer Instalution avec Yarn
44-
1) `git clone https://github.com/instalution/frontend.git`
43+
### Option 1 : Installer Instalution avec pnpM
44+
1) `git clone https://github.com/instalution/frontend.git instalution`.
4545
2) `cd instalution`
46-
3) `yarn`
47-
4) `yarn next telemetry disable` (en anglais)
46+
3) `pnpm install`
47+
4) `pnpm next telemetry disable` (en anglais)
4848
5) [Téléchargez une archive](https://help.instagram.com/181231772500920) de vos données depuis Instagram
4949
6) Extrayez le contenu du répertoire `media/posts/` dans l'archive vers `./public/accounts/[archive_folder_name]`. Le nom du dossier de base deviendra le nom d'utilisateur, et Instalution lira chaque image et vidéo dans chaque sous-dossier.
50-
7) `yarn dev` -- Instalution devrait maintenant être disponible à l'adresse http://localhost:1234.
50+
7) `pnpm dev` -- Instalution devrait maintenant être disponible à l'adresse http://localhost:1234.
5151

5252
### Option 2 : Installer Instalution avec Docker Compose
53-
1) `git clone https://github.com/instalution/frontend.git`
53+
1) `git clone https://github.com/instalution/frontend.git instalution`.
5454
2) `cd instalution`
5555
3) [Téléchargez une archive](https://help.instagram.com/181231772500920) de vos données depuis Instagram
5656
4) Extrayez le contenu du répertoire `media/posts/` dans l'archive vers `./public/accounts/[archive_folder_name]`. Le nom du dossier de base deviendra le nom d'utilisateur, et Instalution lira chaque image et vidéo dans chaque sous-dossier.
5757
5) `docker-compose up` -- Instalution devrait maintenant être disponible à l'adresse http://localhost:1234.
5858

5959
### Option 3 : Installer Instalution avec Dockerfile
6060

61-
1) `git clone https://github.com/instalution/frontend.git`
61+
1) `git clone https://github.com/instalution/frontend.git instalution`.
6262
2) `cd instalution`
6363
3) [Télécharger une archive](https://help.instagram.com/181231772500920) de vos données depuis Instagram
6464
4) Extrayez le contenu du répertoire `media/posts/` dans l'archive vers `./public/accounts/[archive_folder_name]`. Le nom du dossier de base deviendra le nom d'utilisateur, et Instalution lira chaque image et vidéo dans chaque sous-dossier.
6565
5) `docker build --tag=frontend .`
6666
6) `docker run --volume=$(pwd):/home/node/app --publish 1234:1234 frontend` -- Instalution devrait maintenant être disponible à l'adresse http://localhost:1234.
6767

6868
### Option 4 : Installer Instalution avec Vagrant
69-
1) `git clone https://github.com/instalution/frontend.git`
69+
1) `git clone https://github.com/instalution/frontend.git instalution`.
7070
2) `cd instalution`
7171
3) [Télécharger une archive](https://help.instagram.com/181231772500920) de vos données depuis Instagram
7272
4) Extrayez le contenu du répertoire `media/posts/` dans l'archive vers `./public/accounts/[archive_folder_name]`. Le nom du dossier de base deviendra le nom d'utilisateur, et Instalution lira chaque image et vidéo dans chaque sous-dossier.

0 commit comments

Comments
 (0)