Environment and various scripts used for Adminly development
Currently there is a bug in docker-compose v2 that makes it so the ./adminly-dev.sh
script doesn't work. To workaround this it's recommended to use docker-compose v1 for now. Docker-compose v1 can be installed using pip like so: pip3 install --user docker-compose
. Make sure $HOME/.local/bin
is in the beginning of your $PATH.
- Install the above dependencies on your computer
- Create an
adminly
folder and enter it. - Clone this repo
git clone https://github.com/MetaProvide/adminly_devkit
- Enter the
adminly_devkit
folder and run./adminly-dev.sh init
- Open the
.vscode/project.code-workspace
in VS Code - Launch the debugger (This is mainly so the nextcloud container doesn't complain about not connecting to the debug client)
- Run
./adminly-dev.sh setup
to bring up and configure the container environment - Navigate to
http://localhost
and login with Username:testsson
and Password:test