Skip to content
This repository was archived by the owner on Dec 18, 2020. It is now read-only.
This repository was archived by the owner on Dec 18, 2020. It is now read-only.

Run in dev environment #831

@bdecarne

Description

@bdecarne
Q A
Bug? yes
New Feature? no
Sulu Version latest
Browser Version -

Actual Behavior

When i launch the server using :

php bin/console server:start

the default environment is prod, wich is not very convenient for development.

WebServerBundle is using app.php as entrypoint, because there is no app_dev.php.

Expected Behavior

Builtin server must use dev environment

Steps to Reproduce

composer create-project sulu/sulu-minimal my-project -n
bin/adminconsole sulu:build dev
php bin/console server:start

Possible Solutions

create a app_dev.php, like symfony distribution :

<?php

define('SYMFONY_ENV', 'dev');
require_once __DIR__ . '/app.php';

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions