Align format with Nikola md processor

This commit is contained in:
Carsten Grohmann 2020-01-09 20:49:28 +01:00
parent 51da97eef5
commit c57c74adb2

View File

@ -13,6 +13,7 @@ translate Python code into JavaScript.
The current online version is available at https://www.carstengrohmann.de/oom/ . The current online version is available at https://www.carstengrohmann.de/oom/ .
## Installation ## Installation
Installing OOMAnalyser is quite easy since OOMAnalyser consists only of two files, a 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 ### Prepare the build environment
* Clone the repository: * Clone the repository:
``` ```
# git clone https://github.com/CarstenGrohmann/OOMAnalyser # git clone https://github.com/CarstenGrohmann/OOMAnalyser
``` ```
* Setup the Python virtual environment: * Setup the Python virtual environment:
```
```
# virtualenv env # virtualenv env
# . env/bin/activate # . env/bin/activate
# env/bin/pip install -Ur requirements.txt # env/bin/pip install -Ur requirements.txt
@ -53,9 +55,10 @@ without an Internet connection.
or or
# make venv # make venv
``` ```
### Build OOMAnalyser ### Build OOMAnalyser
``` ```
# . env/bin/activate # . env/bin/activate
# transcrypt --build --map --nomin -e 6 OOMAnalyser.py # transcrypt --build --map --nomin -e 6 OOMAnalyser.py
@ -66,19 +69,20 @@ or
``` ```
### Usage ### Usage
* Change into the source directory and start your own small web server. * Change into the source directory and start your own small web server.
* Start Python built-in 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 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 ## Resources