TimeBox is an online file storage with version control developed with the Symfony2 framework.
-
Download and install Wamp Server
-
Edit following files:
- C:\wamp\bin\php\php5.4.12\php.ini
- C:\wamp\bin\apache\Apache2.4.4\bin\php.ini
Uncomment theses lines:
extension=php_curl.dll
extension=php_intl.dll
extension=php_mbstring.dll
extension=php_openssl.dll
-
Restart Wamp: left click on the wamp icon → Restart All Services
-
WindowsPause → Advanced settings → Environment variables → System Variables → Add to PATH :
;C:\wamp\bin\php\php5.4.12
-
Install Git Preview
-
Launch Git Bash
cd "C:\wamp\www"
git clone https://github.com/thelightbird/TimeBox
cd TimeBox/source/TimeBox-website
cp app/config/parameters.yml.dist app/config/parameters.yml
- Edit file app/config/parameters.yml:
database_name: timebox
database_user: root
database_password: <password from step 1.>
Tip: if your password contains a #, it must be put between quotes. 8. Type the following commands:
mkdir app/cache
mkdir app/logs
mkdir vendor
php composer.phar install
- Install Database
- Type the following commands:
sudo apt-get install apache2 php5 mysql-server libapache2-mod-php5 php5-mysql php5-intl phpmyadmin
Tips:
- Server to reconfigure: apache2 (Press SpaceTabEnter)
- Reconfigure database ? → Yes
- Type the following commands:
cd /var/www
git clone https://github.com/thelightbird/TimeBox
cd TimeBox/source/TimeBox-website
mkdir app/cache
mkdir app/logs
setfacl -R -m u:www-data:rwX -m u:`whoami`:rwX app/cache app/logs
setfacl -dR -m u:www-data:rwx -m u:`whoami`:rwx app/cache app/logs
cp app/config/parameters.yml.dist app/config/parameters.yml
- Edit file app/config/parameters.yml:
database_name: timebox
database_user: root
database_password: <password from step 1.>
Tip: if your password contains a #, it must be put between quotes.
- Type the following commands:
mkdir vendor
php composer.phar install
- Install Database
-
Connect and create
timebox
database -
Open a terminal:
cd TimeBox/source/TimeBox-website
php app/console doctrine:schema:update --force