Skip to content

thelightbird/TimeBox

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TimeBox

TimeBox is an online file storage with version control developed with the Symfony2 framework.

Install on Windows

  1. Download and install Wamp Server

  2. 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
  1. Restart Wamp: left click on the wamp icon → Restart All Services

  2. WindowsPause → Advanced settings → Environment variables → System Variables → Add to PATH : ;C:\wamp\bin\php\php5.4.12

  3. Install Git Preview

  4. 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
  1. 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
  1. Install Database

Install on Linux (Ubuntu)

  1. 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
  1. 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
  1. 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.

  1. Type the following commands:
mkdir vendor
php composer.phar install
  1. Install Database

Install Database

  1. Go on http://localhost/phpmyadmin

  2. Connect and create timebox database

  3. Open a terminal:

cd TimeBox/source/TimeBox-website
php app/console doctrine:schema:update --force

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published