|
7 months ago | |
---|---|---|
assets | 7 months ago | |
bin | 8 months ago | |
config | 8 months ago | |
migrations | 8 months ago | |
public | 7 months ago | |
src | 7 months ago | |
templates | 7 months ago | |
tests | 8 months ago | |
translations | 8 months ago | |
.DS_Store | 7 months ago | |
.env | 8 months ago | |
.env.test | 8 months ago | |
.gitignore | 8 months ago | |
LICENSE | 8 months ago | |
README.md | 8 months ago | |
composer.json | 8 months ago | |
package.json | 8 months ago | |
phpunit.xml.dist | 8 months ago | |
webpack.config.js | 8 months ago |
L’espace de candidature me permet de déposer mes candidature pour des offres d’emploi et de réaliser leur suivi. Mes référentes Cap Emploi et Pôle peuvent y accéder à tous moment . Ce site fonctionne pour le moment uniquement en mode Back Office …
Les technologies utilisées sont les suivantes :
Et bien sûre Git au travers de ce dépôt Gitea.
Installer yarn à l’aide de Homebrew :
$ brew install yarn
Installer Git :
$ brew install git
Récupérer le dépôt du code source :
$ git clones http://gitea.brachet-christophe.fr/christophe/candidature.git
Se déplacer dans le répertoire du projet
$ cd candidature
Récupérer les dépendances clients (modules node)
$ yarn install
Récuperer les dépendances PHP à l’aide composer
$ composer install
Créer une base de données mysql
$ mysql -u root -p
$ CREATE DATABASE candidature;
$ GRANT all privileges on candidature.* to 'gitea'@'localhost' identified by 'secret_password';
$ FLUSH PRIVILEGES;
$ exit
Modifier le fichier .env pour définir les identifiants de la base de données :
$ sudo nano .env
DATABASE_URL=mysql://candidature:secret_password@localhost:3306/candidature?serverVersion=5.7
Créer une base de données mysql
$ mysql -u root -p
$ CREATE DATABASE candidature;
$ GRANT all privileges on candidature.* to 'gitea'@'localhost' identified by 'secret_password';
$ FLUSH PRIVILEGES;
$ exit
On met à jour le schéma de la base de données
$ php bin/console doctrine:schema:update --force
On rempli la base de données avec les données de test
$ php bin/console doctrine:fixtures:load
On génére les fichiers css et js à l’aide de webpack encore
$ yarn encore dev
On démarre le serveur de développement à l’aide de la commande symfony :
$ symfony start:server
L’espace de candidature est disponible depuis l’uri : http://127.0.0.1:8000
MIT License
Copyright © 2020 Christophe Brachetdeveloppeur@brachet-christophe.fr
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the “Software”), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED “AS IS”, WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.