The program converts the units in the E-book(Epub) from Imperial to Metric and vice-versa.
-
Python 3.6
-
Install pipenv:
python -m pip install pipenv
-
Clone repo:
git clone https://github.com/kivS/epub_unit_converter.git
-
Enter project folder:
cd epub_unit_converter
-
Install dependencies:
pipenv install
-
Start it up:
pipenv run python init.py
-
Open browser in
http://localhost:7000
-
You can run the program with arguments to access extra features:
Argument Description Example -rl
or--rm-logs
Resets the logs pipenv run python init -rl
-b
or--open-browser
Opens app in the default browser pipenv run python init.py -b
-d
or--dev
Activates Dev mode. *Requires client's dev web-server to be running python run python init.py -d
Dev mode activates:
- debugging info to console and log files in main program
- client with development web-server
- Nodejs
- Npm or Yarn
-
Start the main program in dev mode:
pipenv run python init -d
-
In another console window, navigate into client folder:
cd client
-
Install dependencies:
yarn install
ornpm install
-
Run dev web-server:
yarn dev
ornpm run dev
-
Open browser in
http://localhost:7000
or open the browser automatically by adding the browser argument when starting the main program.