GithubHelp home page GithubHelp logo

local-media-wiki's Introduction

Local WikiMedia

Welcome to this wonderful repository ! It should allow you to install a local WikiMedia in less than 10 minutes (thanks to Docker).

Summary

Use

Setup

First, you have to install docker engine on your host machine.

Then, install docker-compose.

Now, go in your worspace directory and clone the repository :

$ git clone ssh://[email protected]:Gnucki/media-wiki.git && cd media-wiki

Next step is setuping your environment :

$ make setup

You can chose the installed version of MediaWiki distribution specifying the MEDIA_WIKI_VERSION variable in your .env file.

If everything went well, you should be able to access the config page : http://localhost:7080/mw-config/.

Last thing you have to do to finish technical installation is to configure the database connection : dbconnect

Default password is pwd. Feel free to change it in your .env file.

Enjoy !

Start

To start docker environment (when you restart your host, for instance), use the following command :

$ make start

To stop all containers :

$ make stop

You can also restart one or all containers :

$ make restart

Save and restore

You can create a backup of your data and settings :

$ make save

Remember to upload the artifact in a safe place

To restore a backup of your data and settings, place your backup file to restore in .run/backups/backup.tar.gz, then execute the following command :

$ make restore

This command will backup your current data before executing

Display logs

Display current logs :

$ make log

Display current logs and watch for new ones :

$ make log-watch

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.