GithubHelp home page GithubHelp logo

wts's Introduction

BabelZilla WTS

The Web Translation System (WTS) is software that powers the localization and translation site babelzilla.org. WTS allows Mozilla extension authors to upload their localized extensions for translation into other languages, and allows volunteer translators to view, edit, and update translations.

Requirements

  1. MySQL
  2. PHP
  3. The following PHP extensions must be installed and enabled in php.ini:
    1. curl
    2. mbstring
    3. openssl (used by Composer, below)
  4. PHP Composer - see download instructions here

Installation

  1. If you haven't already, install and configure MySQL on your system. You should create a user account that will have read and write access to your database.

  2. Create a MySQL database for WTS to use. You can do this on the command line - e.g.: mysql -u admin -p -e "create database wts_db;"

  3. Clone the WTS code repository:
    git clone https://github.com/BabelZilla/WTS.git wts/

  4. Open the wts directory in a terminal:
    cd wts

  5. Run composer update

  6. Get a cup of coffee while composer installs the dependencies.

    Your folder structure should now be similar to the one below:

    |-htdocs  
    |-wts  
    |---app  
    |-----classes  
    |-----cldr_cache  
    |-----commands  
    |-----config  
    |-----controllers  
    |-----database  
    |-----lang  
    |-----models  
    |-----other  
    |-----start  
    |-----storage  
    |-----tests  
    |-----views  
    |---bootstrap  
    |---public  
    |-----packages  
    |-----themes  
    |-------babelzilla  
    |-------installer  
    |---vendor
    
  7. Change permissions on the app/config and app/storage folders so your webserver has write access

  8. Copy the contents of the public folder to your webroot - i.e. copy all of the files inside public, but not the public folder itself. (e.g. htdocs. You can change this in bootstrap/paths.php). The files should sit in the base webroot directory - e.g. htdocs/index.php.

  9. At the same level as your base webroot folder (e.g. htdocs) create the following folders:

    |-upload    
    |---temp    
    |-uploads    
    |---projects     
    |---repos    
    

    Your webserver will need write access to these folders also.

    Your folder structure should now look like this:

    |-htdocs  
    |-wts  
    |---app  
    |-----classes  
    |-----cldr_cache  
    |-----commands  
    |-----config  
    |-----controllers  
    |-----database  
    |-----lang  
    |-----models  
    |-----other  
    |-----start  
    |-----storage  
    |-----tests  
    |-----views  
    |---bootstrap  
    |---public  
    |-----packages  
    |-----themes  
    |-------babelzilla  
    |-------installer    
    |---vendor
    |-upload    
    |---temp    
    |-uploads    
    |---projects     
    |---repos  
    

    You can change the paths in app/config/wts.php.
    If you prefer another folder structure: change the paths in public/index.php.

  10. Run the install script by visiting the following URL: http://www.yourdomain.com/install . The WTS system will redirect you to the start of the installation pages.

    1. You should see a page that says "Welcome to the WTS Installer!".
    2. Click the "Install from scratch" or "Upgrade" buttons and follow the instructions.

    Troubleshooting: If you get a blank page or a 404 error after visiting the URL, something is wrong. Check to see if your web server is set to allow redirects; if not this will interfere with WTS installation.

Links

wts's People

Contributors

babelzilla avatar daveschaefer avatar markh-bz avatar

Watchers

James Cloos avatar

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.