Make things ready for distribution.
This commit is contained in:
parent
e7f3f63ecd
commit
17fc004c93
4 changed files with 38 additions and 12 deletions
19
README.md
19
README.md
|
@ -1,2 +1,17 @@
|
|||
# ◆ teamblueprint/main
|
||||
Blueprint allows extensions to be installed easely and multiple extensions to be installed without hardcoding compatibility.
|
||||
* ◆ Blueprint powered.
|
||||
*
|
||||
* Discord: discord.gg/CUwHwv6xRe
|
||||
* Documentation: ptero.shop/docs
|
||||
|
||||
## Introduction
|
||||
Thank you so much for purchasing Blueprint and supporting the project.
|
||||
If you get stuck anywhere, don't hesitate to join our Discord (linked above).
|
||||
|
||||
## Installation
|
||||
Before we begin installing Blueprint, make sure you both have an SFTP and SSH client installed and have access to the server you want to install Blueprint on.
|
||||
|
||||
Start by connecting to your server via SFTP and navigate to "/var/www/pterodactyl". Drag and drop the Blueprint files over to this directory (and make sure to overwrite files if asked by your client of choice).
|
||||
|
||||
Now open your SSH client and connect to your server. Navigate to "/var/www/pterodactyl" using "cd /var/www/pterodactyl" and run "bash blueprint.sh". After doing this step, head over to your Pterodactyl panel and do "CTRL + SHIFT + R" or "CTRL + F5" for Blueprint's css styles to apply.
|
||||
|
||||
That was it, if you ran into a problem during installation, please let us know. We are constantly working on making Blueprint better, and we can't do it without your help.
|
|
@ -152,7 +152,7 @@ class BlueprintVariableService
|
|||
}
|
||||
public
|
||||
function version(): string {
|
||||
$v = "indev";
|
||||
$v = "([(pterodactylmarket_version)])";
|
||||
return $v;
|
||||
}
|
||||
public
|
||||
|
@ -183,5 +183,5 @@ class BlueprintVariableService
|
|||
return shell_exec("blueprint -php ".$arg);
|
||||
}
|
||||
|
||||
public function licenseKey(): string{return "S08L79UGN4U7ZB3HY";}
|
||||
public function licenseKey(): string{return "([(pterodactylmarket_transactionid)])";}
|
||||
}
|
||||
|
|
25
blueprint.sh
25
blueprint.sh
|
@ -39,30 +39,35 @@ chmod u+x /usr/local/bin/blueprint > /dev/null;
|
|||
if [[ $1 != "-bash" ]]; then
|
||||
if dbValidate "blueprint.setupFinished"; then
|
||||
clr_blue "This command only works if you have yet to install Blueprint. You can run \"\033[1;94mblueprint\033[0m\033[0;34m\" instead.";
|
||||
dbRemove "blueprint.setupFinished";
|
||||
exit 1;
|
||||
else
|
||||
clr_bright "php artisan down";
|
||||
php artisan down;
|
||||
|
||||
clr_bright "/var/www/pterodactyl/public/themes/pterodactyl/css/pterodactyl.css";
|
||||
sed -i "s!@import 'checkbox.css';!@import 'checkbox.css';\n@import url(/assets/extensions/blueprint/blueprint.style.css);!g" /var/www/pterodactyl/public/themes/pterodactyl/css/pterodactyl.css;
|
||||
|
||||
|
||||
clr_bright "php artisan view:clear";
|
||||
php artisan view:clear > /dev/null;
|
||||
php artisan view:clear;
|
||||
|
||||
|
||||
clr_bright "php artisan config:clear";
|
||||
php artisan config:clear > /dev/null;
|
||||
php artisan config:clear;
|
||||
|
||||
|
||||
#clr_bright "php artisan migrate";
|
||||
#php artisan migrate;
|
||||
clr_bright "php artisan migrate";
|
||||
php artisan migrate;
|
||||
|
||||
|
||||
clr_bright "chown -R www-data:www-data /var/www/pterodactyl/*";
|
||||
chown -R www-data:www-data /var/www/pterodactyl/* > /dev/null;
|
||||
chown -R www-data:www-data /var/www/pterodactyl/*;
|
||||
|
||||
clr_bright "chown -R www-data:www-data /var/www/pterodactyl/.*";
|
||||
chown -R www-data:www-data /var/www/pterodactyl/.* > /dev/null;
|
||||
chown -R www-data:www-data /var/www/pterodactyl/.*;
|
||||
|
||||
clr_bright "php artisan up";
|
||||
php artisan up;
|
||||
|
||||
dbAdd "blueprint.setupFinished";
|
||||
exit 1;
|
||||
|
@ -204,4 +209,10 @@ fi;
|
|||
|
||||
if [[ ( $2 == "-v" ) || ( $2 == "-version" ) ]]; then
|
||||
echo -e $VERSION;
|
||||
fi;
|
||||
|
||||
if [[ $2 == "-reinstall" ]]; then
|
||||
dbRemove "blueprint.setupFinished";
|
||||
cd /var/www/pterodactyl;
|
||||
bash blueprint.sh;
|
||||
fi;
|
|
@ -85,7 +85,7 @@
|
|||
<div class="col-xs-4">
|
||||
<label class="control-label">placeholder</label>
|
||||
<input type="text" required name="placeholder" id="placeholder" value="{{ $bp->dbGet('placeholder') }}" class="form-control" @if(!$bp->b())readonly @endif/>
|
||||
<p class="text-muted small">placeholder</p>
|
||||
<p class="text-muted small">This option doesn't do anything yet, but will be replaced with something functional in the future.</p>
|
||||
</div>
|
||||
<div class="col-xs-4">
|
||||
<label class="control-label">Endpoint</label>
|
||||
|
|
Loading…
Reference in a new issue