composer updatecomposer serve
View http://localhost:4000/.
Initial setup, as per Toolforge documentation:
- Clone this repository.
- Create public link, e.g.
$ ln -s ~/src/mw-tool-usage/public_html/ ~/public_html - Start webservice
$ webservice --backend=kubernetes php7.4 restart - Run composer (in a webservice shell, to ensure correct PHP version context)
$ webservice shell tools-shell$ cd mw-tool-usage tools-shell$ composer update --no-dev
Updates:
tools-login:~$ webservice shell
tools-shell:~$ cd mw-tool-usage/
tools-shell:usage$ git pull
tools-shell:usage$ composer update --no-dev