Skip to content

Site de présentation et de gestion de refuge pour animaux / Animal shelter presentation and management site.

Notifications You must be signed in to change notification settings

Anthony-AGTN/Le-Refuge

Repository files navigation

Le Refuge

Presentation

Animal shelter presentation and management site.

Getting Started

Prerequisites

  1. PHP >= 8.1
  2. Check Symfony CLI is installed
  3. Check composer is installed
  4. Check yarn & node are installed

Install

  1. Clone this project
git clone [email protected]:Anthony-AGTN/le-refuge.git
  1. Install dependencies with composer
composer install
  1. Install dependencies with yarn
yarn install
  1. Duplicate photos.fixtures folder into photos
cp -r ./public/images/photos.fixtures ./public/images/photos
  1. Build assets
yarn encore dev
  1. Duplicate file .env in .env.local
cp ./.env ./.env.local
  1. In .env.local, fill in the information for the database
# DATABASE_URL="mysql://db_user:[email protected]:3306/db_name?serverVersion=5.7&charset=utf8mb4"
  1. Run commands to generate the database
symfony console doctrine:database:create
symfony console doctrine:migrations:migrate
symfony console doctrine:fixtures:load

Working

  1. Launch your local php web server
symfony server:start
  1. Launch your local server for assets
yarn run dev --watch
yarn dev-server # With Hot Module Reload activated

Enable instagram feeds

  1. In .env.local, Uncomment BASE_FEED_URL / API_TOKEN_INSTAGRAM / LIMIT_DISPLAY_FEED_INSTAGRAM and fill in the token for API_TOKEN_INSTAGRAM
###> Instagram/API_BASIC_DISPLAY ###
# BASE_FEED_URL="https://graph.instagram.com/me/media?fields=id,caption,media_type,media_url,permalink,thumbnail_url,timestamp,username"
# API_TOKEN_INSTAGRAM="Here_your_api_key_for_basic_display"
# LIMIT_DISPLAY_FEED_INSTAGRAM=6
###< Instagram/API_BASIC_DISPLAY ###

Authors

test test2

About

Site de présentation et de gestion de refuge pour animaux / Animal shelter presentation and management site.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published