Commit ab8a6ef5 authored by Stephane Bouvry's avatar Stephane Bouvry
Browse files

Documentation développeur

parent 58ae85f5
Loading
Loading
Loading
Loading
Loading
+14 −14
Original line number Diff line number Diff line
@@ -76,17 +76,17 @@ services:
    tty: true
    restart: "always"

#  oscar-dev-worker:
#    container_name: oscar-dev-worker
#    restart: unless-stopped
#    volumes:
#      - ./:/var/application
#    depends_on:
#      - oscar-dev-apache
#    networks:
#      - oscar-dev-network
##    env_file: # TODO
##      - .env.docker.dev
#    build:
#      context: ./docker/dev/worker
#      dockerfile: Dockerfile
 No newline at end of file
  oscar-dev-worker:
    container_name: oscar-dev-worker
    restart: unless-stopped
    volumes:
      - ./:/var/application
    depends_on:
      - oscar-dev-apache
    networks:
      - oscar-dev-network
#    env_file: # TODO
#      - .env.docker.dev
    build:
      context: ./docker/dev/worker
      dockerfile: Dockerfile
 No newline at end of file
+4 −9
Original line number Diff line number Diff line
@@ -40,17 +40,12 @@ docker compose -f compose.dev.yml up --build

# Connection à Oscar
docker compose -f compose.dev.yml exec oscar-dev-apache /bin/bash

# On Refresh l'installation
. oscar-update.sh

# Création de l'administrateur
php bin/oscar.php auth:add

# Le déclarer Admin
php bin/oscar.php auth:promote -l administrateur
```

Accès : http//localhost:8888
Identifiant : administrateur
Mdp : administrateur

## Architecture

Il y'a X containers :