- PHP (If you don't have it, use XAMPP)
- Strawberry Perl (not the version of Perl that comes with XAMPP)
- LibreOffice
- Git
- Sublime Text, Notepad++ or another quality text editor
Go to your desktop, right-click anywhere, and click on "git bash" in the menu. Paste the following into your command line and hit enter.
cd /C
git clone https://github.com/jamesmontalvo3/Wikify
If your command line does not allow copy/paste, click on the icon in the top-left of the command line window so a menu appears, and click "properties". In the "options" tab check "QuickEdit Mode". Click OK. You should now be able to paste by right-clicking anywhere on the command line.
- Click on the Start menu
- Right-click on "computer" and select "properties"
- Click "advanced system settings"
- Find the "environment variables" button
- Find the "PATH" variable, and click "edit"
- Copy the contents of the PATH variable into Sublime Text or Notepad++
- Add the following as required (separate each with a semicolon, do not inlude newlines):
C:\xampp\php
C:\Program Files (x86)\LibreOffice 4\program
C:\Wikify
Paste your new PATH back into the edit dialog and save.
Open a command window (in Start menu type "cmd" and hit enter), then run the following commands:
perl -MCPAN -e 'force install HTML::WikiConverter'
perl -MCPAN -e 'force install HTML::WikiConverter::MediaWiki'
perl -MCPAN -e 'force install Module::Implementation'
Create a folder on your desktop and put a Word document in it. Then hold shift and right-click inside the directory. Select "open command window here". In the command window type:
wikify YourDocumentName.docx
If your document has spaces in the name, do:
wikify "Your document name.docx"
If you have Windows configure to not show you document extensions it can be difficult to see if it's a .doc or .docx. To show file extensions go to Control Panel, Appearance and Personalization, then Folder Options. Ont he View tab, under Advanced Settings, uncheck the "Hide extensions for known file types" box.