Skip to content

Commit ba01c30

Browse files
committed
feat: update install guide
1 parent 3fb2162 commit ba01c30

File tree

1 file changed

+18
-14
lines changed

1 file changed

+18
-14
lines changed

apps/frontend/content/guides/admin/install.md

Lines changed: 18 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,22 @@ Define your Pterodactyl directory, we'll use this later in the guide. If your Pt
1717
export PTERODACTYL_DIRECTORY=/var/www/pterodactyl
1818
```
1919

20+
## Download and install Blueprint
21+
22+
Download the latest version of Blueprint onto your server by either downloading the latest release [from GitHub](https://github.com/BlueprintFramework/framework/releases/latest) or running the commands below (which will save the file as `release.zip` and extract it).
23+
24+
```bash
25+
# Install curl, wget and unzip if you haven't already
26+
sudo apt install -y curl wget unzip
27+
28+
# Navigate to your Pterodactyl directory
29+
cd $PTERODACTYL_DIRECTORY
30+
31+
# Download and unzip Blueprint's latest release
32+
wget "$(curl -s https://api.github.com/repos/BlueprintFramework/framework/releases/latest | grep 'browser_download_url' | cut -d '"' -f 4)" -O $PTERODACTYL_DIRECTORY/release.zip
33+
unzip -o release.zip
34+
```
35+
2036
## Dependencies
2137

2238
Blueprint, just like Pterodactyl, relies on a few dependencies to function. Install them through the commands below.
@@ -32,24 +48,12 @@ echo "deb [signed-by=/etc/apt/keyrings/nodesource.gpg] https://deb.nodesource.co
3248
sudo apt update
3349
sudo apt install -y nodejs
3450

35-
# Install yarn
51+
# cd into Pterodactyl, install yarn and node dependencies
52+
cd $PTERODACTYL_DIRECTORY
3653
npm i -g yarn
3754
yarn install
3855
```
3956

40-
## Download and install Blueprint
41-
42-
Download the latest version of Blueprint onto your server by either downloading the latest release [from GitHub](https://github.com/BlueprintFramework/framework/releases/latest) or running the commands below (which will save the file as `release.zip` and extract it).
43-
44-
```bash
45-
# Navigate to your Pterodactyl directory
46-
cd $PTERODACTYL_DIRECTORY
47-
48-
# Download and unzip Blueprint's latest release
49-
wget "$(curl -s https://api.github.com/repos/BlueprintFramework/framework/releases/latest | grep 'browser_download_url' | cut -d '"' -f 4)" -O $PTERODACTYL_DIRECTORY/release.zip
50-
unzip -o release.zip
51-
```
52-
5357
## Configure Blueprint
5458

5559
This step allows Blueprint to function and know where itself and Pterodactyl are located and which permissions to use. Create a file called `.blueprintrc` inside of your Pterodactyl directory to begin.

0 commit comments

Comments
 (0)