Fontman desktop core works as the fontman client application's backend. All the
tasks like installing fonts, updating font cache are covered by this
application. It uses a SQLite database to store data, you can find it under
"data" directory in fontman-desktop's home directory.
Make sure you have python 3
and pip
installed. Then install
following packages.
pip3 install -r requirements.txt
To initialize the application data, if you are running it for the first time,
python3 core-runner.py init
python3 core-runner.py run
Once the flask application started you can start using fontman-gui,
fontman-client frontend.
We use PyInstaller to build the FMS binary for all platforms. To install PyInstaller simply do,
pip3 install pyinstaller
Now build the FMS binary by,
pyinstaller --onefile core-runner.py
If you don't want to compromize Flask terminal output simply do,
pyinstaller --onefile --noconsole core-runner.py
Once the PyInstaller is done, FMS binary can be found in the dist directory. Named as core-runner on Linux, core-runner.exe on Windows and core-runner.dmg on Mac.