-
Use the Node.js version specified in the
.nvmrc
file.nvm use
-
Install the dependencies.
npm install composer install
-
Run the build.
npm run build
-
Start the local development environment.
docker-compose up -d
-
Open "http://localhost:8080/" in a web browser.
-
Move required files.
mediawiki/LocalSettings.php
mediawiki/images/
-
Import database.
docker exec -i osl-database mysql -umediawiki -pmediawiki mediawiki < mysql.sql
Replace
mysql.sql
with the path of the dump file.