https://github.com/haskell/haskell-wiki-configuration
Issue tracking for Haskell Wiki
https://github.com/haskell/haskell-wiki-configuration
Last synced: 5 months ago
JSON representation
Issue tracking for Haskell Wiki
- Host: GitHub
- URL: https://github.com/haskell/haskell-wiki-configuration
- Owner: haskell
- Created: 2016-11-02T06:08:55.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2024-12-30T16:48:51.000Z (about 1 year ago)
- Last Synced: 2025-01-30T07:03:47.595Z (about 1 year ago)
- Language: Nix
- Homepage: https://wiki.haskell.org/
- Size: 246 KB
- Stars: 4
- Watchers: 9
- Forks: 5
- Open Issues: 16
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
This issue tracker is for bugs and feature requests for the
[Haskell Wiki][1]. This is just for issues with the
installation/maintenance of the wiki software itself (which is an
installation of [MediaWiki][2]). It also includes the customized wiki skin and some customizations to the configuration.
For issues with the *content* of the wiki, just edit the wiki! 😃
[1]: https://wiki.haskell.org/
[2]: https://www.mediawiki.org/
# Development
There is a test vm setup in the nix flake. The test vm uses the environment variable `$HAWIKI_CONFIG` to pass in the configuration for the test vm. You can either manually set the variable `export HAWIKI_CONFIG=/absolute/path/to/hawiki-config` or use `nix develop` to set it the `hawiki-config` directory in this project.
You will need a dump of the db and to setup a test password in `${HAWIKI_CONFIG}/hawiki-pass`
You can build the test vm with
```bash
nixos-rebuild build-vm --flake .#hawiki-vm
```
You can start the vm with
```bash
./result/bin/run-hawiki-vm-vm
```
To setup the db with the dump inside the vm
```bash
nixos-container root-login hawiki
cat /var/lib/mediawiki/hawiki-dump.sql | mysql mediawiki
exit
nixos-container restart hawiki
```
To cleanup the vm state
```bash
./result/bin/run-hawiki-vm-vm
```