~alcinnz/rhapsode

0caaae1b65f8d17dae5d3e9e1ac514c5fe9b501d — Adrian Cochrane 3 years ago 989a503
Update newly-tested build instructions.
1 files changed, 4 insertions(+), 8 deletions(-)

M README.md
M README.md => README.md +4 -8
@@ 30,12 30,8 @@ I want browsers to be simple and easy to audit or write your own.
See the wiki for webdev documentation.

## Installation/Running
1. Install `espeak-ng`, `zlib1g-dev`, `ghc`, `cabal-install`. (Debian package names listed here)
2. Install the C libraries `espeak-ng` & `sndfile` (on Debian: `libespeak-ng-dev` & `libsndfile1-dev`)
3. `cabal install`:
    * `xml-conduit-stylist`
    * `stylist`
    * `hurl`
    * TODO any others?
1. Install `gstreamer1.0-pocketsphinx` `zlib1g-dev`, `ghc`, `cabal-install`. (Debian package names listed here)
2. Install the C libraries `espeak-ng`, `sndfile`, `gstreamer1.0`, & `openssl` (on Debian: `libespeak-ng-dev`, `libsndfile1-dev`, `libgstreamer1.0-dev`, & `libssl-dev`)
3. If you've installed Haskell via e.g. GhcUp, you may need to edit `src/Types.hs` so that `buildDir` is assigned to the absolute path to the Rhapsode repository being built. This is used to know where to find the datafiles.
4. (OPTIONAL) Add `~/.cabal/bin/` to your path if it isn't already.
5. Run Rhapsode with `cabal run https://example.com/ | espeak-ng -mb1`, where "https://example.com/" can/should be replaced any valid URL. Or if you followed step 3, you can replace "cabal run" with "rhapsode".
5. Run Rhapsode with `cabal run https://example.com/`, where "https://example.com/" can/should be replaced any valid URL. Or if you followed step 3, you can replace "cabal run" with "rhapsode".