Skip to content

dereneaton/Sozi

 
 

Repository files navigation

Github Downloads (latest) Github Downloads (total)

Sozi is a presentation tool for SVG documents.

It is free software distributed under the terms of the Mozilla Public License 2.0.

More details can be found on the official web site: http://sozi.baierouge.fr

Building and installing Sozi from sources

Get the source files

Clone the repository:

git clone git://github.com/senshu/Sozi.git

Install the build tools and dependencies

Install Node.js, Bower and the Grunt CLI. If you plan to build a Windows executable from Linux or OS X, also install wine. In Debian/Ubuntu and their derivatives, you can type the following commands.

sudo apt install nodejs nodejs-legacy npm wine
sudo npm install bower grunt-cli -g

From the root of the source tree:

npm install
bower install

Also install the following:

  • Droid Sans as vendor/DroidSans/DroidSans.eot|ttf and vendor/DroidSans/DroidSans-Bold.eot|ttf

Build

To build the desktop application for all platforms, run the following command from the root of the source tree:

grunt

You can customize the build by creating a custom configuration file. See config.default.json and config.linux-x64.json for examples. For instance, if you want to build 64-bit executables for OS X and Linux, the configuration file (config.linux-darwin-x64.json) will look like this:

{
    "platforms": [
        "darwin-x64",
        "linux-x64"
    ]
}

Then run Grunt with the --config option:

grunt --config=config.linux-darwin-x64.json

Other Grunt tasks are available for developers:

Command Effect
grunt electron-build Build the desktop application without creating executable bundles.
grunt web-build Build the web application without uploading it.
grunt electron-bundle (default) Build the desktop application and create executable bundles for various platforms.
grunt web-demo Build the web application and upload it to a server.
grunt pot Extract a template file (locales/messages.pot) for translation.

Install

Sozi is released as a zip/tgz archive that you can extract wherever you like. Open the extracted folder and run the Sozi executable.

If installation on your specific platform is supported by Sozi, there will be an install folder in the extracted archive containing an installation script. Run it with admin privileges (e.g. in Linux, open a terminal in the install folder and type sudo ./install.sh) to install Sozi system-wide.

About

A presentation tool based on SVG

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 90.7%
  • CSS 3.7%
  • HTML 3.7%
  • Python 1.8%
  • Shell 0.1%