Ofont is a free and open source tool for font collections. It runs in the browser and is easy to install on your server. You can try a copy of ofont at: http://usemodify.com
Ofont is based on ProcessWire, those information will help you to install it.
Download the last version of ProcessWire then unzip it to another location.
Before installing ProcessWire, rename the folder /site-default/
to /site/
then copy and paste the following files from ofont directory to ProcessWire directory:
/site/install/
/site/templates/
/site/modules/
/site/config-example.php
Delete the existing config.php
and rename the file config-example.php
to config.php
.
Create a new dedicated SQL database using PhpMyAdmin.
After you've completed the steps above, run the installer /install.php
for the new site by loading it in your browser and follow the instructions.
It's not good to leave the exported profile lying around as it may be consuming quite a bit of disk space. As a result, I recommend that you remove the profile when done with all of the above steps (/site/install/install.sql
).
Ofont uses Stylus for CSS compiling, and Fontello to generate icon font.
Ofont is still in development, so it may regularly come new features. To update your ofont to the latest available version follow those steps :
First of all, for safety it is recommended to backup your database.
Copy and paste these files from the latest ofont directory to your current directory:
/site/templates/
/site/modules/
In your ProcessWire admin, go to Admin->Modules
then click Check for New Modules. If new modules are found, install it.
Copy the content of /updateFiles/fields.txt
from the latest ofont directory and paste it to Admin->Setup->Fields->Import
in your ProcessWire admin. Click Preview then agree to every changes.
Copy the content of /updateFiles/templates.txt
from the latest ofont directory and paste it to Admin->Setup->Templates->Import
in your ProcessWire admin. Click Preview then agree to every changes.
Enjoy!
Ofont is under GNU/GPLv3 License.