Giter VIP home page Giter VIP logo

zodiac-mediawiki-skin's Introduction

Development environment setup

  1. git clone --depth=1 https://gerrit.wikimedia.org/r/mediawiki/core.git mediawiki
  2. cd mediawiki
  3. create the .env file with:
   MW_SCRIPT_PATH=/w
   MW_SERVER=http://localhost:8080
   MW_DOCKER_PORT=8080
   MEDIAWIKI_USER=Admin
   MEDIAWIKI_PASSWORD=dockerpass
   XDEBUG_CONFIG=
   XDEBUG_ENABLE=true
   XHPROF_ENABLE=true
  1. echo "MW_DOCKER_UID=$(id -u) MW_DOCKER_GID=$(id -g)" >> .env
  2. docker-compose up -d
  3. docker-compose exec mediawiki composer update
  4. docker-compose exec mediawiki /bin/bash /docker/install.sh
  5. open "localhost:8080"
  6. cd skins/
  7. git clone https://github.com/gitbot-eth/zodiac-wikimedia-skin.git zodiac
  8. open LocalSettings.php (at the root of the mediawiki directory)
  9. add wfLoadSkin( 'zodiac' ); to the LocalSettings.php file, above the $wgDefaultSkin variable.
  10. set $wgDefaultSkin = "zodiac";
  11. save the file
  12. refresh "localhost:8080"
  13. when developing, open the zodiac project directly (for instance via: cd skins/zodiac then code .)

In the skin/zodiac folder run:

  1. npm install
  2. make your changes
  3. npm dev (or npm run watch)

zodiac-mediawiki-skin's People

Contributors

supertassu avatar dependabot[bot] avatar asgeir-s avatar cedricwaxwing avatar jdlrobson avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.