Giter VIP home page Giter VIP logo

www-app's Introduction

== Installation ==
=== Requirements ===
PHP >= 5.2 - required to support enums and database magic syntax.
PHP extensions: curl,json,pgsql,hash,gettext
PostgreSQL >= 9? - while it should be easy to modify db/postgresql.php, I only test on pg,
	so some queries might require modification if you use another DBMS.
CGI and Perl for latex and upload status bar
	(TODO give sane fallbacks for those, and maybe use some better methods -
		mimetex isn't beautiful, jsmath matured very much,
		uber-upload is uber-complicated, TinyMCE now features a HTML upload handler).
=== Configuration ===
Create a database and fill it with install.sql.
Fill config.php.template and move to "config.php". You should probably try to minimalize its chmod.
Run the application and login as root. You can create an account for you or change root's name and login.
Check the options in menu->administration->options.

== Utilities ==
=== internationalization ===
Standard gettext is used, with two additional string-sources to parse.
Strings to be translated are either:
- passed directly to the _(), N_() functions,
- enclosed in double brackets {{string}}, or
- defined in a parseTable column with a t modifier.
When you add/change a string to be translated, run
	cd locale; php updateTranslations.php;
and edit the .po files, prefferably with an editor like poEdit
(poedit will automatically compile to a .mo file).
	poedit locale/pl_PL/LC_MESSAGES/messages.po
You may have to restart Apache when loading a new translation! (segfaults otherwise)
	service httpd restart

=== icons map ===
Whenever you add/edit an icon in images/icons/, run
	cd images; ./mapIcons.py

This is to avoid making many request for all the small icons, they're merged in one file by mapIcons.py.
In code use getIcon() to display the icons.
For details see mapIcons.py.

== License ==
The code is licensed under the MIT license (without additional clauses).
As permissive as it is, if you're still unwilling to comply, I probably won't sue you ;), I only
expect you to kindly send an e-mail to mwrochna+www at gmail so I know my work is of some use.

PHP/HTML/JS components used:
- the WYSIWIG editor     - TinyMCE        - LGPL         - http://www.tinymce.com/
- oauth and smtp library - Zend Framework - new BSD      - http://framework.zend.com/wiki/display/ZFDEV/Subversion+Standards#SubversionStandards-AnonymousCheckout
CGI components used:
- simple latex rendering - mimetex.cgi    - GPL          - ?
- upload status bar      - uber-upload    - GPLv3        - http://uber-uploader.sourceforge.net/
Icons:
- most icons             - FatCow         - CC-A-3.0     - http://www.fatcow.com/free-icons/
- some smaller icons     - twotiny        - Artisitc/GPL - http://code.google.com/p/twotiny/

www-app's People

Contributors

marcinwrochna avatar pathes avatar sygi avatar sebastianjaszczur avatar

Watchers

 avatar  avatar

www-app's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.