From c57c74adb25778041ba7a6dde02496d00ff7f597 Mon Sep 17 00:00:00 2001 From: Carsten Grohmann Date: Thu, 9 Jan 2020 20:49:28 +0100 Subject: [PATCH] Align format with Nikola md processor --- README.md | 22 +++++++++++++--------- 1 file changed, 13 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 561f1df..98376f8 100644 --- a/README.md +++ b/README.md @@ -13,6 +13,7 @@ translate Python code into JavaScript. The current online version is available at https://www.carstengrohmann.de/oom/ . + ## Installation Installing OOMAnalyser is quite easy since OOMAnalyser consists only of two files, a @@ -40,12 +41,13 @@ without an Internet connection. ### Prepare the build environment * Clone the repository: - ``` +``` # git clone https://github.com/CarstenGrohmann/OOMAnalyser - ``` +``` * Setup the Python virtual environment: - ``` + +``` # virtualenv env # . env/bin/activate # env/bin/pip install -Ur requirements.txt @@ -53,9 +55,10 @@ without an Internet connection. or # make venv - ``` +``` ### Build OOMAnalyser + ``` # . env/bin/activate # transcrypt --build --map --nomin -e 6 OOMAnalyser.py @@ -66,19 +69,20 @@ or ``` ### Usage + * Change into the source directory and start your own small web server. * Start Python built-in web server: - ``` - # python3 -m http.server 8080 --bind 127.0.0.1 +``` +# python3 -m http.server 8080 --bind 127.0.0.1 or - # make websrv - ``` +# make websrv +``` -* Open the URL http://localhost:8080/OOMAnalyser.html in your favorite browser. + * Open the URL http://localhost:8080/OOMAnalyser.html in your favorite browser. ## Resources