This installation guide has been tested on raw Debian 9. If you do the same, check carefully your RAM, 4GB seems required to avoid memory exhaustion.
In order to contribute, you need to have
Install add-apt-repository before starting.
apt-get install software-properties-common
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
java -version
cd semantic_forms_play-1.0-SNAPSHOT
cp scripts/start.sh .
PORT
variable in start.sh
(9111 by default)start.sh
and bin/semantic_forms_play
and run start.sh
to start the SF server:
chmod +x start.sh
chmod +x bin/semantic_forms_play
./start.sh
start.sh
of your localhost in your web browser (e.g. http://localhost:9111 or http://127.0.0.1:9111)sudo apt-get install mysql-server mysql-client
admin
with privileges on a database symfony
:
sudo mysql
mysql> CREATE USER 'admin'@'localhost' IDENTIFIED BY 'yourpassword';
mysql> CREATE DATABASE symfony;
mysql> GRANT ALL PRIVILEGES ON symfony.* TO 'admin'@'localhost' WITH GRANT OPTION;
mysql> FLUSH PRIVILEGES;
!include /opt/local/etc/mysql57/macports-default.cnf
in /opt/local/etc/mysql57/my.cnf
and to configure the default port by adding there:
[mysqld]
port = 3306
For Composer, on Debian, run sudo apt-get install composer
.
If the Composer is not packaged, install it manually to a binary directory INSTALLDIR
in your PATH
:
php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
php -r "if (hash_file('SHA384', 'composer-setup.php') === '544e09ee996cdf60ece3804abc52599c22b1f40f4323403c44d44fdfdd586475ca9813a858088ffbc1f233e9b180f061') { echo 'Installer verified'; } else { echo 'Installer corrupt'; unlink('composer-setup.php'); } echo PHP_EOL;"
export INSTALLDIR=$HOME/local/bin
php composer-setup.php --install-dir=$INSTALLDIR --filename=composer
php -r "unlink('composer-setup.php');"
git clone https://github.com/assemblee-virtuelle/Semapps
cd yourdirectory/Semapps
yarn
composer install
. When asked, provide:
symfony
to match the above MySQL configurationadmin
to match the above MySQL configuration, and the passwordapp/config/parameters.yml
cd yourdirectory/semapps/web/common/images/
logo.png
php bin/console doctrine:schema:create
php bin/console semapps:create:user
php bin/console server:run
[...][...]
A summary of which modules do what, where are the files.