BitNami Pootle

    Pootle is a user-friendly web portal that makes the translation process simpler. It allows online translation, work assignment, gives statistics and allows easy volunteer contribution.

    Please, take a look to the Quick Start Guide to know the basic use of this Stack.

    How to start/stop the servers?

    The Stacks include a graphical tool to manage the servers easily. You can find the "manager-windows.exe", "manager-osx" or "manager-linux" tool in your installation directory. Using this tool, you can Start, Stop or Restart the servers and check the log files. You can click on the icon to start it.

    manager-servers.png

     

    manager-osx.png

     

     

     

     

     

     

     

     

     


    win_platform.png On Windows: You can also start the Manager tool from shortcuts: Start -> Program Files -> BitNami Stack -> Manager tool

     

    If you prefer, you can use the "ctlscript.sh" utility from the command line. This script is in the installation directory.

    mac_platform.png

    On OS X: You can start the Manager tool from the installation directory or you can use the "ctlscript.sh" utility from a Terminal.

    host:~ user$ cd /Applications/application-version
    host:~ user$ ./ctlscript.sh start
    

    linux_platform.png On Linux:

    $ cd ~/applicaton-version
    $ ./ctlscript.sh start
    

    How to change the default URL?Edit section

    If you want to change the default URL from "http://your_domain/pootle" to "http://your_domain you need to follow the steps below.

    1. Stop the servers

    2. Edit /installdir/apps/pootle/conf/pootle.conf to point to / instead of /pootle

      WSGIScriptAlias / "/opt/bitnami/apps/pootle/scripts/pootle.wsgi"
      
      Alias /assets "/opt/bitnami/apps/pootle/lib/pootle/assets"
      Alias /static "/opt/bitnami/apps/pootle/lib/pootle/static"
      
    3. Edit /installdir/apps/pootle/etc/pootle_settings.conf to point to / instead of /pootle

      STATIC_URL = '/assets/'
      
    4. Start the servers

    How to configure the email settings of Pootle?

    You just need to edit the settings file in: 

    /installdir/apps/pootle/etc/pootle/localsettings.py
    

    ("installdir" is "/opt/bitnami" in virtual machines and cloud images)

    Uncomment the EMAIL parameters and set the values for your SMTP settings. For example, you can use a GMail account to send the outgoing emails as follows:

    #Mail settings
    
    # Address used for messages sent by Pootle.
    DEFAULT_FROM_EMAIL = 'USER@gmail.com'
    
    # Mail server settings
    
    # By default Pootle uses SMTP server on localhost, if the server is
    # not configured for sending emails use these settings to setup an
    # external outgoing SMTP server.
    
    # Example for Google as an external SMTP server
    EMAIL_HOST_USER = 'USER@gmail.com'
    EMAIL_HOST_PASSWORD = 'YOUR_PASSWORD'
    EMAIL_HOST = 'smtp.gmail.com'
    EMAIL_PORT = 587
    EMAIL_USE_TLS = True
    

    How can I enable user registration?

    After the installation although your application will be up and running, external users will not be able to register. You will need to configure the email settings (see above).

    How to enable SSL?

    You can see how to configure Apache to enable SSL connections at How to enable SSL to access through https?

    How to use Pootle administration commands?

    You can use Pootle administration commands through django-admin.py but you need to specify Pootle path and Pootle settings. An example to use the command refresh_stats could be:

    /installdir/python/bin/python /installdir/apps/django/bin/django-admin.py refresh_stats --settings=pootle.settings --pythonpath=/installdir/apps/pootle/lib/

    If you are using the Virtual Appliance or the AMI, the installdir is /opt/bitnami.

    How to install Xapian to enable search feature?

    Xapian is an Open Source Search Engine Library, released under the GPL. If this module is not in your Stack, you can install it manually. These are the steps to install it in an Ubuntu machine.

    ### Get the latest sources ###
     $ wget http://oligarchy.co.uk/xapian/1.2.12/xapian-core-1.2.12.tar.gz
     $ wget http://oligarchy.co.uk/xapian/1.2.12/xapian-bindings-1.2.12.tar.gz
    
     $ sudo su
    
     ### Decompress Xapian tarbals ###
     $ tar zxf xapian-core-1.2.12.tar.gz
     $ tar zxf xapian-bindings-1.2.12.tar.gz
    
     ### Install dependencies ###
     $ sudo apt-get update
     $ sudo apt-get install gcc g++ make
     $ sudo apt-get install uuid-dev
    
     ### Load the BitNami environment ###
     (notice the space between the dot and the path to the script)
     $ . /opt/bitnami/scripts/setenv.sh 
     $ export LDFLAGS=-L/opt/bitnami/common/lib
     $ export CPPFLAGS=-I/opt/bitnami/common/include
    
     ### Compile xapian-core and xapian-bindings ###
     $ cd xapian-core-1.2.12
     $ ./configure --prefix=/opt/bitnami/common
     $ make
     $ sudo make install
     $ cd ../xapian-bindings-1.2.12
     $ ./configure --prefix=/opt/bitnami/common --with-python
     $ make
     $ sudo make install
    
     ### Restart your servers ####
     $ /opt/bitnami/ctlscript.sh restart
    
    Tag page (Edit tags)
    • No tags
    Page statistics
    15509 view(s), 15 edit(s) and 5340 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments