Skip to content

Yuzmi/artviewer

Repository files navigation

Install dependencies

composer install

Set variables

nano .env  

# Environment
APP_ENV=prod

# Database
DATABASE_URL=mysql://root:root@127.0.0.1/artviewer

Create database

php bin/console doctrine:database:create
php bin/console doctrine:schema:create

Permissions for cache and logs

setfacl -R -m u:www-data:rwX var/cache var/log
setfacl -dR -m u:www-data:rwX var/cache var/log

Server configuration

See here for the whole configuration.

# Apache : install .htaccess
composer require symfony/apache-pack

CRON

*/5 * * * * php /var/www/artviewer/bin/console app:parse:rss
*/10 * * * * php /var/www/artviewer/bin/console app:parse:items --unparsed
0 0 * * * php /var/www/artviewer/bin/console app:parse:items --recent

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published