Platform for personal projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
app
src
web
.editorconfig
.gitignore
LICENSE
README.md
composer.json
composer.lock

README.md

Pulupalsta

Requirements

  • PHP 5.3.3
  • PostgreSQL
  • php app/check.php

Installation

git clone https://github.com/lassiheikkinen/pulupalsta.git palsta.pulu.org
cd palsta.pulu.org
curl -sS https://getcomposer.org/installer | php
vim app/config/parameters.yml
php composer.phar install --no-dev --optimize-autoloader; php app/console cache:clear --env=prod --no-debug; php app/console assetic:dump --env=prod --no-debug
php app/console doctrine:schema:update --dump-sql

And add commands to cron.

Debug

location ~ ^/(app_dev|config)\.php(/|$) {
    auth_basic "Closed";
    auth_basic_user_file /etc/nginx/dev_htpasswd;

    include /etc/nginx/fastcgi.conf;
    fastcgi_pass unix:/run/php/php7.0-fpm.sock;
    fastcgi_split_path_info ^(.+\.php)(/.*)$;
}

Troubleshooting

1. Remember eval cache

rm -rf /tmp/palsta-evalized-cache/*