For use when testing, improving or experimenting with PlaceOS on a local machine.
Treat it as insecure as it is NOT intended for production use...
See the PlaceOS Drivers repository for further information.
-
Via
curl
:curl \ --proto '=https' --tlsv1.2 \ # Enforce strict HTTPS --location \ # Follow redirects --show-error --silent \ # Show an error message on failure --fail \ # Fail on HTTP errors https://raw.githubusercontent.com/PlaceOS/local/master/scripts/install | bash
In other words...
curl --proto '=https' --tlsv1.2 -LsSf https://raw.githubusercontent.com/PlaceOS/local/master/scripts/install | bash
-
Via
wget
:wget -O - https://raw.githubusercontent.com/PlaceOS/local/master/scripts/install | bash
These will need to be installed prior to installation:
- lazydocker for easy docker monitoring.
- docker completion for more efficient terminal use.
If using Docker Desktop for Mac, the default memory allocation of 2GB is insufficient for running Elasticsearch in addition to the set of PlaceOS services. Bumping the resource limit to 4GB should be sufficient.
PLACE_EMAIL
,PLACE_PASSWORD
: Create an initial admin user via these environment variablesPLACE_DOMAIN
: Set an alternate application domain, defaults tolocalhost:8443
These environment variables can also be passed via the cli.
When finished, stop the environment's containers with placeos stop
.
Usage: placeos [-h|--help] [--version] [command]
Helper script for interfacing with PlaceOS Local.
Command:
start Start the environment.
stop Stops the environment.
task Runs a task in the environment.
changelog Displays platform changelog (in markdown).
update Update the platform version.
upgrade Upgrade PlaceOS Local.
uninstall Uninstalls PlaceOS Local.
version Render PlaceOS version in use.
help Display this message.
Arguments:
--version Render PlaceOS version in use.
-h, --help Display this message.
Usage: placeos start [-h|--help] [flags...]
Start the PlaceOS Local environment.
Arguments:
--email EMAIL Email to setup an admin account for. [default: [email protected]]
--password PASSWORD Password for created admin account.
--application APP_NAME Application to configure. [default: backoffice]
--domain DOMAIN Domain to configure. [default: localhost:8443]
--hard-reset Reset the environment to a default state.
-v, --verbose Write logs to STDOUT in addition to the log file.
-h, --help Display this message
Usage: placeos stop [-h|--help]
Stop the PlaceOS Local environment.
Arguments:
-v, --verbose Write logs to STDOUT in addition to the log file.
-h, --help Display this message.
Usage: placeos task [-h|--help|help] [--list] <task> [help|...] [arguments...]
Run a task in the PlaceOS Local environment.
Arguments:
--list Display list of available tasks.
-h, --help Display this message.
Usage: placeos changelog [-h|--help] [--full] [VERSION]
Changelog for the PlaceOS.
If called without a VERSION, fetches the latest CHANGELOG entry.
Otherwise, fetches the CHANGELOG entry for passed VERSION.
Arguments:
--full Include all prior CHANGELOG entries.
-h, --help Display this message
Usage: placeos update [-h|--help] [flags...] [VERSION]
Modifies PLACEOS_TAG to the selected PlaceOS platform version.
If VERSION is omitted, defaults to the most recent stable version.
Arguments:
--list List the available versions.
-v, --verbose Write logs to STDOUT in addition to the log file.
-h, --help Display this message.
Usage: placeos upgrade [-h|--help] [flags...] [VERSION]
Upgrades the PlaceOS Local environment.
If VERSION is omitted, defaults to the most recent stable version.
Arguments:
--list Lists versions of PlaceOS Local.
-q, --quiet Do not write command logs to STDOUT.
-h, --help Display this message.
Usage: placeos migrate
Run a RethinkDB data migration in the local environment.
Arguments:
-a, --appends Don't clean tables before loading RethinkDB data. Defaults to True
-h, --help Display this message.
Usage: placeos uninstall [-h|--help] [--force]
Removes PlaceOS containers, removes scripts from paths, and finally deletes the installation path.
Arguments:
--force Skip confirmation of uninstall.
-h, --help Display this message.