]> OzVa Git service - gn-editor/commitdiff
Add build from source instructions
authorNil Gradisnik <nil.gradisnik@gmail.com>
Tue, 10 Apr 2018 04:58:37 +0000 (21:58 -0700)
committerNil Gradisnik <nil.gradisnik@gmail.com>
Tue, 10 Apr 2018 04:58:37 +0000 (21:58 -0700)
README.md

index d5816d1531a5a8419f41cfb1265b01f396fc141d..7cf35f69ede00b17af9c00d41946403a6fe34069 100644 (file)
--- a/README.md
+++ b/README.md
@@ -10,12 +10,20 @@ There seem to be no simple, fast Markdown editors on Linux.
 
 > Inspired by [uberwriter](http://uberwriter.wolfvollprecht.de/).
 
-## Development
+## Build from source
 
-Build:
+This project depends on [gtk-rs](http://gtk-rs.org/docs-src/requirements.html), [sourceview](https://github.com/gtk-rs/sourceview) and [webkit2gtk](https://github.com/gtk-rs/webkit2gtk-rs).
 
-    cargo build
+- Ubuntu
 
-Run:
+        sudo apt install libgtksourceview-3.0-dev libwebkit2gtk-4.0-dev
+
+
+- Fedora
+
+        sudo dnf install gtksourceview3-devel webkitgtk4-devel
+
+
+Build and run
 
     cargo run