Giter Site home page Giter Site logo

formulaire_authentification_laravel's Introduction

Mini Projet formulaire

Installation Campus

Votre environnement de développement comprend quelques spécificités et restrictions.

Afin de vous permettre de faire fonctionner correctement votre réseau social avec Laravel, nous vous proposons de suivre la procédure suivante.

Lancez un terminal Gitbash et copier/coller ligne par ligne commandes suivantes.

/!\ Controller les messages d'erreurs /!\

On clone le dépot Git.

/!\ ici [REPERTOIRE] fait référence à votre répertoire projet, pensez à parsonnaliser cette valeur /!\

-> Conseil : placer [REPERTOIRE] dans le répertoire www de uWamp /!\

mkdir [REPERTOIRE]
cd [REPERTOIRE]
git clone https://github.com/campus-digital-grenoble/formulaire-php.git .

Configuration spéciale uWamp/Campus

Cette procédure est optionnelle, passer à Installation de composer

Uwamp='c:\uwamp' # A personnaliser avec le repertoire d'install de uwamp
sed -e "s/{PHPEXTPATH}/$(echo ${Uwamp} | sed -e 's/[]\/$*.^|[]/\\&/g')\\\bin\\\php\\\php-5.6.18\\\ext/g" -e "s/{APACHEPATH}/$(echo ${Uwamp} | sed -e 's/[]\/$*.^|[]/\\&/g')\\\apache/g" -e "s/{PHPZENDPATH}/$(echo ${Uwamp} | sed -e 's/[]\/$*.^|[]/\\&/g')\\\bin\\\php\\\php-5.6.18\\\zend_ext/g" -e "s/{TEMPPATH}/$(echo ${Uwamp} | sed -e 's/[]\/$*.^|[]/\\&/g')\\\temp/g" -e "s|^;\(date\.timezone[[:space:]]*=\).*|\1 \"Europe/Paris\"|g" ${Uwamp}/bin/php/php-5.6.18/php_uwamp.ini  > php.ini
echo "alias php='php -c ./php.ini'" >  ~/.bashrc
echo "alias composer='php ./composer.phar'" >> ~/.bashrc
echo "export PATH=\$PATH:'${Uwamp}\bin\database\mysql-5.7.11\bin\:${Uwamp}\bin\php\php-5.6.18\'"  >> ~/.bashrc
source ~/.bashrc

Avant d'aller plus loin :

Assurer vous que php est correctement configuré pour votre projet

php -i # doit Afficher le phpinfo() sans erreurs;

Installation de composer

php -r "copy('https://getcomposer.org/composer.phar', 'composer.phar');"

Installation des dépendances via composer

composer install

Dernière ligne droite

cp .env.example .env
php artisan key:generate

Importation des tables

configurer le .env en fonction de votre Base de donnée ensuite


php artisan migrate

Lancer le projet

php artisan serve --ini

formulaire_authentification_laravel's People

Contributors

lbeauvisage avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.