Need for Speed Modding Wiki

[Main page] [All tags] [All pages] [Git]

Making a backup of the wiki


Page index

1. Prerequisites
  Git
    Windows 7+
    Windows XP
    Linux
  Python 3.4+
    Modern Windows
    Windows 7
    Windows XP
    Linux
  Python Markdown
    Windows
    Linux
2. Making a clone
3. Creating the pages
4. Optional: re-upload the wiki

Creating a backup allows you to keep accessing the information on this wiki, even if it goes down.

1. Prerequisites#

Git#

Windows 7+#

Get git-scm

Windows XP#

Skip any steps involving git, download the wiki as a zip (You will lose all information relating to the history!)

Linux#

Install git in your package manager.

Python 3.4+#

Modern Windows#

Just get the newest version

Windows 7#

You want to grab Python 3.8.10

Windows XP#

Get Python 3.4.4

Linux#

Install python3 or python in your package manager.

Python Markdown#

Windows#

Run py -m pip install markdown

Linux#

Run python3 -m pip install markdown

2. Making a clone#

Go to a directory, like Documents, run a terminal and enter git clone https://github.com/Fierelier/nfs-modding-wiki. The wiki, and its history will be saved in a directory called nfs-modding-wiki.

3. Creating the pages#

The wiki will have to be converted from Markdown to HTML, to be readable in a browser. To do this, run create.py. The final page is in the output directory, which is next to create.py.

4. Optional: re-upload the wiki#

Put the output folder on your hoster of choice.


Last updated: 2024-12-17 00:41, Log

Top