A product database where you can order a product and use a cronjob to send an email with the orders to process.
Not ready for prime time. Use at your own risk.
mysql -uroot -p
MySQL> create datbase justorderit;
MySQL> grant usage on *.* to justorderit@localhost identified by 'YOUR_PASSWORD';
# remove the \ before the * it's just here to prevent bad syntax highlighting
MySQL> grant all privileges on justorderit.\* to justorderit@localhost;
MySQL> exit;
git clone https://github.com/NicolasCARPi/justorderit/
# install composer (not shown)
# install php dependencies
php composer.phar install --no-dev
# mysql structure
php bin/console doctrine:schema:update --force
# fix permissions
sudo chown -R www-data:www-data var/cache var/logs var/sessions
mkdir -p web/uploads/quotes
sudo chown -R www-data:www-data web/uploads
curl https://justorderit/cron
Starting the dev server:
php bin/console server:run
Clearing the cache on the prod server after an update:
rm -rf var/cache/prod/