Skip to content

Projet pédagogique de bandes dessinées interactives réalisé en équipe avec la promotion 1 de Simplon Cahors.

Notifications You must be signed in to change notification settings

echayotte/Projet_EyeTracking

Repository files navigation

EyeTracking BD

Get access to the site :

http://127.0.0.1:8000/

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

http://127.0.0.1:8000/board/create/1 //add a board on a comic
http://127.0.0.1:8000/pages/edit // create areas on a board
http://127.0.0.1:8000/pages/mapping //testing sound on areas'board

Installation :

run in the terminal all thoses lines one by one :

general installation :

git clone git@github.com:echayotte/Projet_EyeTracking.git
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]

add sources files to access :

cp -r storage/sources/ storage/app
mv storage/app/sources storage/app/public

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

Projet pédagogique de bandes dessinées interactives réalisé en équipe avec la promotion 1 de Simplon Cahors.

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published