Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions development/building-from-source.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Open `_scripts/build.js` in your favorite text editor and edit the line containi
Open up your terminal in the root of the project and run the following command:

```
yarn run build
pnpm run build
```

Once the command has finished, a new `build/` folder will be created in the project. This folder will contain any and every binary that the command has created. It will only create binaries for the OS you are running (ex: Windows can only create Windows binaries).
Expand All @@ -28,7 +28,7 @@ Once the command has finished, a new `build/` folder will be created in the proj
If you are running a 64 bit Linux OS, you will also be able to create ARM64 binaries. To do so, run the following command:

```
yarn run build:arm
pnpm run build:arm
```

Binaries will be located in the same location as the other command.
12 changes: 6 additions & 6 deletions development/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ parent: Development
permalink: /development/getting-started/
---

Getting a development environment setup for FreeTube is very simple. You must have [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/) and [Yarn](https://yarnpkg.com) installed on your system in order to set up your environment.
Getting a development environment setup for FreeTube is very simple. You must have [Git](https://git-scm.com), [Node.js](https://nodejs.org/en/) and [pnpm](https://pnpm.io) installed on your system in order to set up your environment.

Once installed, open a Terminal in a folder that you'd like to store your repository. Then, clone the repository.

Expand All @@ -22,15 +22,15 @@ cd FreeTube
Install Dependencies:

```
yarn
pnpm
# or
yarn install
pnpm install
```

Run the application:

```
yarn run dev
pnpm run dev
```

And you're done! After a couple of seconds, FreeTube will open up and you are ready to make changes to the project.
Expand All @@ -46,15 +46,15 @@ To keep your code up to par with the rest of the application, we enforce a linte
In the root of your directory, run the following command:

```
yarn run lint
pnpm run lint
```

This command will then display all of the errors that the linter found in your project. If nothing is displayed after you run the command, then no errors were found.

In some cases, the issues that the linter finds are simple enough that they may be able to be fixed automatically. If this happens, you can run the following command to fix them:

```
yarn run lint-fix
pnpm run lint-fix
```

This command will also show any errors that the linter still finds and cannot fix.
Expand Down
Loading