This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
use Behat\Behat\Context\Context; | |
use Symfony\Component\HttpFoundation\Request; | |
use Symfony\Component\HttpFoundation\Response; | |
use Symfony\Component\HttpKernel\KernelInterface; | |
/** | |
* This context class contains the definitions of the steps used by the demo | |
* feature file. Learn how to get started with Behat and BDD on Behat's website. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[unix_http_server] | |
file=/var/run/supervisor.sock ; (the path to the socket file) | |
chmod=0700 ; sockef file mode (default 0700) | |
[supervisord] | |
logfile=/var/log/supervisor/supervisord.log ; (main log file;default $CWD/supervisord.log) | |
pidfile=/var/run/supervisord.pid ; (supervisord pidfile;default supervisord.pid) | |
childlogdir=/var/log/supervisor ; ('AUTO' child log dir, default $TEMP) | |
; the below section must remain in the config file for RPC | |
; (supervisorctl/web interface) to work, additional interfaces may be |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# This file is auto-generated during the composer install | |
parameters: | |
env(DATABASE_HOST): 127.0.0.1 | |
env(DATABASE_PORT): null | |
env(DATABASE_NAME): publisher | |
env(DATABASE_USER): postgres | |
env(DATABASE_PASSWORD): postgres | |
env(DATABASE_SERVER_VERSION): 9 | |
mailer_transport: smtp | |
mailer_host: 127.0.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; Start a new pool named 'www'. | |
; the variable $pool can be used in any directive and will be replaced by the | |
; pool name ('www' here) | |
[www] | |
; Unix user/group of processes | |
; Note: The user is mandatory. If the group is not set, the default user's group | |
; will be used. | |
user = www-data | |
group = www-data |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80 default; | |
root /var/www/publisher/web; | |
location / { | |
try_files $uri /app.php$is_args$args; | |
} | |
location ~ ^/(app|app_dev|config)\.php(/|$) { | |
fastcgi_pass 127.0.0.1:9000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.superdeskConfig={ | |
apps: ['superdesk-publisher'], | |
publisher: { | |
protocol: "http", | |
tenant: '', // subdomain | |
domain: '192.168.0.102', // IP address or domain name of your server where Superdesk Publisher is installed | |
base: 'api/v1' | |
}, | |
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# http://redsymbol.net/articles/unofficial-bash-strict-mode/ | |
set -exuo pipefail | |
export DEBIAN_FRONTEND=noninteractive | |
export DBUS_SESSION_BUS_ADDRESS=/dev/null | |
_activate() { | |
set +ux | |
. /opt/superdesk/activate.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
window.superdeskConfig={ | |
defaultTimezone: "Europe/Berlin", | |
server: { | |
url: "https://superdesk.pro/api", | |
ws: "wss://superdesk.pro/ws" | |
}, | |
iframely: { | |
key: "" | |
}, | |
raven: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
ServerName example.com | |
DocumentRoot /var/www/publisher/web | |
DirectoryIndex index.php index.html | |
<Directory /var/www/publisher/web> | |
AllowOverride All | |
Order Allow,Deny | |
Allow from All | |
</Directory> | |
</VirtualHost> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
server { | |
listen 80; | |
server_name localhost; | |
root /var/www/symfony/public; | |
location / { | |
try_files $uri @rewriteapp; | |
} | |
location @rewriteapp { |
NewerOlder