Skip to content

Latest commit

 

History

History
52 lines (33 loc) · 1.41 KB

README.md

File metadata and controls

52 lines (33 loc) · 1.41 KB

Dunkerque

Build Status SensioLabsInsight

About

Docker hub & registry.

Written in PHP with Symfony.

THIS PROJECT IS IN ALPHA STATE

Docker image

If you just want to use dunkerque, use the docker image on the docker hub.

Install

Base

# Clone repository
git clone https://github.com/iamluc/dunkerque

# Enter directory
cd dunkerque

# Run server (Adapt file `docker-compose.yml` to your needs)
docker-compose up -d

# Generate keys (Default passphrase is `DunkerqueIsOnFire`)
docker-compose run --rm app openssl genrsa -out var/jwt/private.pem -aes256 4096
docker-compose run --rm app openssl rsa -pubout -in var/jwt/private.pem -out var/jwt/public.pem

# Install dependencies
docker-compose run --rm app composer install

# Initialize database
docker-compose run --rm app app/console doctrine:database:create --if-not-exists
docker-compose run --rm app app/console doctrine:migrations:migrate

# Create a user
docker-compose run --rm app app/console fos:user:create

# Run test suite
docker-compose run --rm app bin/run-tests

LICENSE

MIT