Skip to content

Commit

Permalink
Merge pull request #83 from Progi1984/ciDocker
Browse files Browse the repository at this point in the history
Clean old files
  • Loading branch information
Progi1984 authored Jan 12, 2024
2 parents c9ec619 + 9358173 commit b277bcf
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 170 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,6 @@ RUN mv /var/www/html/vhost.conf /etc/apache2/sites-enabled/000-default.conf && \
a2enmod proxy_http && \
a2enmod headers

RUN sed -i 's/^max_execution_time = .*/max_execution_time = 300/' /usr/local/etc/php/php.ini-production && \
RUN sed -i 's/^max_execution_time = .*/max_execution_time = 3600/' /usr/local/etc/php/php.ini-production && \
sed -i 's/variables_order = "GPCS"/variables_order = "EGPCS"/' /usr/local/etc/php/php.ini-production && \
mv "$PHP_INI_DIR/php.ini-production" "$PHP_INI_DIR/php.ini"
11 changes: 5 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,6 @@ Its purpose is to :
2. let people browse a report of a test execution
3. display some statistics about test failures

## Usage

Create a database following the schema provided in schema.sql at the root of the project.

Don't forget to launch `composer install` to install all dependencies.

### Configuration

You can create a `.env.local` file at the root of the project. You can also pass the values via environment variables.
Expand All @@ -26,6 +20,11 @@ Here are the main ones:
| DATABASE_URL | DSN for MySQL Server |
| QANB_TOKEN | Token to add JSON data through the Hook |

## Usage

Install dependencies with a `composer install`.

Create a database with a `php bin/console doctrine:schema:update --dump-sql --force`.

## Web server configuration

Expand Down
9 changes: 0 additions & 9 deletions dbUpgrade.sh

This file was deleted.

154 changes: 0 additions & 154 deletions schema.sql

This file was deleted.

0 comments on commit b277bcf

Please sign in to comment.