Skip to content

2.5 months internship for Geromouv' SCOP. Creation of a platform with Laravel. In the allotted time, I developed a presentation page for animations, a form for registration and administration pages.

Notifications You must be signed in to change notification settings

echayotte/geromouv-animations

Repository files navigation

#Gerommouv animations (2.5 months internship)

Get access to the site :

http://127.0.0.1:8000/

more files you can view and have yet no tab on site :

as Guest :

http://127.0.0.1:8000//presentation => then click image "Activités" http://127.0.0.1:8000//member/create

as Admin : ( for testing => email : admin@gmail.com || password : secret )

http://127.0.0.1:8000//login

run in the terminal all thoses lines one by one :

general installation :

git clone git@github.com:echayotte/geromouv-animations.git

!! important

git checkout dev
composer install
npm install
npm audit //should be good now

database creation :

Then create a DB in your phpMyAdmin

environment creation :

cp .env.example .env
  # change info in .env [DB_DATABASE=changeHere, DB_USERNAME=changeHere, DB_PASSWORD=changeHere]

laravel's site generation :

php artisan key:generate
php artisan migrate  --seed
php artisan storage:link

launch the server ( # and watching files )

php artisan serve
npm run dev
npm run watch


Problem with npm run dev :

If you have the problem below : ✖ Error: pngquant failed to build, make sure that libpng-dev is installed

You need to follow this steps :

  • sudo apt-get install libpng-dev

  • npm install It might worked now ! If not try this :

  • sudo add-apt-repository "deb http://mirrors.kernel.org/ubuntu/ xenial main"

  • sudo apt-get update

  • sudo apt-get install libpng12-dev

  • npm install

  • npm run dev

Problem with npm run watch :

If your npm run dev works, but any npm run watch won't work , try this : BrowserSync/browser-sync#224

Database problem :

If you can't acces your database, even if your .env and everything is right, maybe laravel doesn't load your .env. If so, try php artisan config:cache

To try file uploading :

  • make sure you have the latest DB and your .env is set up correctly.
  • run php artisan storage:link
  • if your terminal says it already exists, delete the storage folder in ./public (/!\ not ./storage) and run the command again.

License

@TDB

About

2.5 months internship for Geromouv' SCOP. Creation of a platform with Laravel. In the allotted time, I developed a presentation page for animations, a form for registration and administration pages.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published