Building
Wiziz is written in D. In order to build it, you need dmd (the D compiler) and dub (the D package/build manager). Both of these can be downloaded from dlang.org.
Linux + macOS
- Clone the git repo:
git clone https://github.com/Flying-Toast/wiziz
.
cd wiziz
.
- Compile and run with
dub run
(this will also automatically fetch dependencies).
- Navigate to http://localhost:8080 in a web browser to test/preview changes.
Windows
Wiziz is not tested natively on Windows, but if you have Windows 10, you can run it using the Windows Subsystem for Linux:
Setting up Windows Subsystem for Linux
- Open Control Panel -> Programs -> Turn Windows features on or off -> select "Windows Subsystem for Linux" and click OK. (Reboot if prompted).
- Install the 'Ubuntu' Windows app.
- Open the 'Ubuntu' app from the start menu.
- Enter a username and password as prompted.
- Close Ubuntu.
- Open PowerShell.
- Run
bash
.
- Run
curl https://raw.githubusercontent.com/Flying-Toast/wiziz/master/wslSetup.sh | bash -s
(this will take a while).
- Close PowerShell.
- That's all for the setup! (You only have to do it once).
Build Instructions
- Open PowerShell.
- Run
bash
.
- Follow the build instructions for Linux.