Skip to content

Commit

Permalink
Recommend using cli reinstall script
Browse files Browse the repository at this point in the history
  • Loading branch information
Derkades committed May 31, 2022
1 parent 55204bc commit 32889f2
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
13 changes: 7 additions & 6 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,17 +1,18 @@
# THIS FILE IS FOR DEVELOPMENT. For production, see https://github.com/NamelessMC/Nameless-Docker

# INSTRUCTIONS
# Set up or update:
# docker compose pull
#
# Set up:
# sudo mkdir /opt/namelessmc
#
# Run:
# docker compose up
#
# Reset:
# docker compose down
# rm -rf core/config.php cache/*
# sudo rm -r /opt/namelessmc/*
# Update:
# docker compose pull
#
# Reinstall:
# docker compose exec php php -f scripts/cli_install.php '--' '--iSwearIKnowWhatImDoing' '--reinstall'
#
# Uninstall
# docker compose down
Expand Down
1 change: 0 additions & 1 deletion scripts/cli_install.php
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,6 @@ function getEnvVar(string $name, string $fallback = null) {
'username' => getEnvVar('NAMELESS_DATABASE_USERNAME', 'root'),
'password' => getEnvVar('NAMELESS_DATABASE_PASSWORD', ''),
'db' => getEnvVar('NAMELESS_DATABASE_NAME', 'nameless'),
'charset' => getEnvVar('NAMELESS_DATABASE_CHARSET', 'utf8mb4'),
'initialise_charset' => true,
],
'remember' => [
Expand Down

0 comments on commit 32889f2

Please sign in to comment.