Skip to content

Web-based configuration and management tool for Pinball Power-Up Controller

License

Notifications You must be signed in to change notification settings

PPUC/config-tool

Repository files navigation

PPUC config-tool

The PPUC config-tool is a web application to configure your controllers. it is still WIP.

Development

Linux and macOS

Install hombrew and DDEV.

Just follow the instructions for your operating system. But even if not documented well, even for Linux we recommended to install DDEV via brew! The PPUC ecosystem will require homebrew anyway. And it is always better to use a package manager.

For macOS these are the essential steps:

brew install docker
brew install orbstack
brew install drud/ddev/ddev
mkcert -install

For Linux install docker according to https://ddev.readthedocs.io/en/stable/users/install/docker-installation/#linux Afterwards install DDEV:

brew install drud/ddev/ddev
mkcert -install

Now clone this project somewhere in your home directory. It is recommended to create a PPUC directory first where you can also clone other PPUC components.

mkdir PPUC
cd PPUC
git clone https://github.com/PPUC/config-tool.git
cd config-tool
ddev start
ddev drush site:install ppuc --site-name="Pinball Power-Up Controller" --account-name=admin --account-pass=admin --existing-config -y
ddev drush dcdi --folder=sites/default/files/default_content --preserve-ids -y

Now you can open https://ppuc-config-tool.ddev.site/ in your browser and login using ppuc as username and ppuc as password.

When you restart your computer you need to start ddev again:

cd PPUC/config-tool
ddev start

Update the PPUC config-tool

Once ddev has been started you can also update to the latest version of the config-tool. It is recommended to export your games before performing the update.

Within PPUC/config-tool run

ddev snapshot
git pull
ddev drush deploy
ddev drush dcdi --folder=sites/default/files/default_content --preserve-ids --force-override -y

TODO: import/update ppuc profile default content after drush deploy

About

Web-based configuration and management tool for Pinball Power-Up Controller

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published