Skip to content

HE-Arc/TimeLife

Repository files navigation

TimeLife

Description

Galerie photo collaborative sous forme de timeline

Installation

  1. Clone laradock
git submodule update --init laradock/
  1. Copy Laravel configuration file
cp .env.example .env
  1. [Laradock] Copy laradock configuration file
cp .env.example .env
  1. Change these infos in the .env
COMPOSE_PROJECT_NAME=timelife
PHP_VERSION=7.4
...
PHP_FPM_INSTALL_EXIF=true
...
MYSQL_DATABASE=timelife
MYSQL_USER=homestead
MYSQL_PASSWORD=secret
...
NGINX_HOST_HTTP_PORT=8000
  1. [Laradock] Run the docker container
docker-compose up -d nginx mysql workspace
  1. [Laradock] Enter the workspace
docker-compose exec workspace bash
  1. Install packages
# For php
composer install
# For JS
npm install
  1. Generate an App key
php artisan key:generate
  1. [Optional] If you already have used Laradock on you computer.
  • Enter the mysql docker container : docker-compose exec mysql bash
  • connect to mysql with mysql -u root -p. Password : root
  • Execute these command two command to create the database :
CREATE DATABASE IF NOT EXISTS `timelife` COLLATE 'utf8_general_ci' ;
GRANT ALL ON `timelife`.* TO 'homestead'@'%' ;
  1. ???
  2. Profit

About

Dev Web - Projet Laravel 2021-2022 : Galerie photo collaborative sous forme de timeline

Resources

Stars

Watchers

Forks

Contributors