Bastien Sevajol 388d065a47 Issue #2: Solve Gedmo exception by changing gedmo/doctrine-extensions version to 2.3.6 | 6 лет назад | |
---|---|---|
.debug | 12 лет назад | |
app | 6 лет назад | |
bin | 11 лет назад | |
src | 6 лет назад | |
web | 6 лет назад | |
.gitignore | 6 лет назад | |
.gitmodules | 13 лет назад | |
LICENSE | 6 лет назад | |
README.md | 6 лет назад | |
catalog.xml | 12 лет назад | |
composer.json | 6 лет назад | |
composer.phar | 6 лет назад | |
deps | 11 лет назад |
Official repository is github.com/buxx/muzich
Muzi.ch is a website who permit to:
Muzi.ch source code is old and currently not maintened. The following howto have been tested on debian 9 in a docker container.
# OS dependencies
apt-get install git curl gnupg apt-transport-https lsb-release ca-certificates zip unzip
# wget
# Need php5.x
curl https://packages.sury.org/php/apt.gpg | apt-key add -
echo "deb https://packages.sury.org/php/ $(lsb_release -sc) main" > /etc/apt/sources.list.d/php.list
apt-get update
apt-get install php5.6 php5.6-xml php5.6-gd libjpeg-dev php5.6-mongo php5.6-curl php5.6-mysql php5.6-mbstring
# Install muzi.ch
git clone https://gitea.bux.fr/bux/muzich.git
cd muzich
cp app/config/config.yml.template app/config/config.yml
cp app/config/parameters.yml.template app/config/parameters.yml
php composer.phar install
# Database
apt-get install mysql-server
service mysql start
mysql --execute "CREATE DATABASE muzich;"
mysql --execute "CREATE USER 'muzich'@'localhost';"
mysql --execute "GRANT ALL PRIVILEGES ON muzich.* To 'muzich'@'localhost' IDENTIFIED BY 'muzich';"
# First time, create database
php app/console doctrine:schema:create
# Start dev server
php app/console server:run
First time, execute:
# Get php unit 4
wget -O phpunit https://phar.phpunit.de/phpunit-4.phar
chmod +x phpunit
# Prepare database
mysql --execute "CREATE DATABASE muzich_test;"
mysql --execute "GRANT ALL PRIVILEGES ON muzich_test.* To 'muzich'@'localhost' IDENTIFIED BY 'muzich';"
./phpunit -c app src
Note: something is missing to make tests working.