...
<VirtualHost *:80>
DocumentRoot "/home/marcstandard/NetBeansProjects/app-mittagqi-translate5Net/public"
ServerAlias translate5.l
SetEnv APPLICATION_ENV application
SetEnv APPLICATION_AGENCY marc
<Directory "/homevar/marcstandard/NetBeansProjects/app-mittagqi-translate5Netwww/translate5/public">
AllowOverride All
Options Indexes FollowSymLinks
Order allow,deny
Allow from all
Require all granted
</Directory>
</VirtualHost>
Restart apache
You have to restart apache to apply all changes made to configuration.
...
Save the file.
Please be aware, that you have to check your webserver and this apache configuration regarding security, if you oppose your translate5 instance to the internet. Your security is your responsibility and can not be covered by this manual.
Install git
The easiest way to install and update translate5 with its submodules and dependencies is so use git.
sudo apt-get update
sudo apt-get install git
Install translate5
Install files from git
The public git master branch of translate5 will always contain the latest stable version of the master branch. New features may not be in the master branch for a longer time, though.
cd /var/www/translate5
git clone git@bitbucketclone git@bitbucket.org:mittagqi/translate5_released.git .
The trailing "." is important, otherwise you will get another directory inside your directory.
git submodule sync
git submodule update --init
git submodule foreach git checkout master
git submodule foreach git pull
No get the submodules of the ZfExtended library and the translate5 editor module
cd library/ZfExtended
git submodule sync
git submodule update --init
git submodule foreach git checkout master
git submodule foreach git pull
cd /var/www/translate5/application/modules/editor
git submodule sync
git submodule update --init
git submodule foreach git checkout master
git submodule foreach git pull
Import database bootstrap
Download database bootstrap from
http://www.translate5.net/downloads/translate5-DB-init.zip
Unzip it. On the command line change to the directory with the extracted DbInit.
Step-by-step guide
...
sql
cd /path_to_your_dir/
Import the DbInit.sql to your MySQL
mysql -u root -p < DbInit.sql
Restart apache
You have to restart apache to apply all changes made to configuration.
sudo /etc/init.d/apache2 restart
You are done
Open your browser and call http://translate5.l and have fun with translate5.
Related articles
Content by Label | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
...