No description
  • JavaScript 48.1%
  • PHP 13%
  • SCSS 10.9%
  • Less 10.8%
  • Twig 10.7%
  • Other 6.5%
Find a file
2020-10-05 11:25:56 +02:00
assets dev : remove style.css 2020-05-20 16:05:31 +02:00
bin initialisation du projet 2020-05-08 15:38:52 +02:00
config dev: Integrate l'addition de nomDeLaRue 2020-06-01 11:39:05 +02:00
outils dev: sane values for created_at and updated_at 2020-06-01 15:00:01 +02:00
public Merge pull request #60 from Societes-AnitCOR/feat/#30_inscription_front_integrate 2020-06-24 12:26:09 +02:00
src dev: redo migration 2020-06-01 11:48:34 +02:00
templates Merge pull request #60 from Societes-AnitCOR/feat/#30_inscription_front_integrate 2020-06-24 12:26:09 +02:00
tests initialisation du projet 2020-05-08 15:38:52 +02:00
translations Ajustement du flow connexion pour FO et BO 2020-05-13 16:37:06 +01:00
.env fixes #39,fait 2020-05-29 17:05:00 +00:00
.env.test initialisation du projet 2020-05-08 15:38:52 +02:00
.gitignore Merge branch 'develop' into feat/19_landing_page_amelioration 2020-05-30 00:31:38 +04:00
composer.json Merge branch 'develop' into dev/feat_companies_page 2020-05-21 11:51:04 +02:00
composer.lock [BO]Wisiwig sur des champs en BO 2020-05-19 15:38:56 +01:00
CONTRIBUTING.md Update CONTRIBUTING.md 2020-09-29 13:08:43 +02:00
gitflow.svg chore : Ajout du GIT Flow 2020-05-17 19:55:41 +02:00
logo_societe_anticor.png Added README 2020-05-17 19:55:41 +02:00
phpunit.xml.dist initialisation du projet 2020-05-08 15:38:52 +02:00
README.md Update README.md 2020-10-05 11:25:56 +02:00
symfony.lock [BO]Wisiwig sur des champs en BO 2020-05-19 15:38:56 +01:00
symfony.tmp mise a jour composer + creation crud user 2020-05-10 22:17:51 +02:00

Sociétés AntiCOR

logo

Table of content

  1. Description
  2. Architecture
  3. Installation
  4. Contributing
  5. License

Description

General objective.

Developping an intuitive and searchable database to find the companies that are or have been involved in the fight against covid-19, with the possibility for users to mention the scope of the help offered (local, national, international) and whether or not the offer is still relevant, shoud help to recreate (if needed) a chain of solidarity in a way that is faster and more efficent than during the first wave of the pandemic.

How it could help : examples

  • A Hospital using the website could see that a software company specialized in planification offers its software and expertise for free in order to help optimize the organization of home care. An association which delivers food for vulnerable people at home could benefit from the same offer to optimize their delivery ininerary.

  • But solutions are even more varied ang go from making free lunches for healthcare professionals to supporting small buisnesses, as well as providing calculus power for reasearch and softwares that assists doctors for diagnosis.

  • The searchable database is aimed at covering 5 themes : Making equipment, Supporting Hospitals and Research, Supporting helpers, Helping the community, Helping companies.

Architecture

This project has been built on Symfony, it uses standard Symfony 5 file structure.

├── README.md
├── bin
├── composer.json
├── composer.lock
├── config
├── logo_societe_anticor.png
├── outils # Tools and utilities
├── phpunit.xml.dist
├── public  # Entry point for the project (contains assets ?)
├── src # source files 
├── symfony.lock
├── templates # html templates built with twig
├── tests
└── translations

Installation

  • Fork the project. Click here or up there!
  • Clone it on your local dev machine. [Docs to do git]
    • with https
        git clone https://github.com/YOUR USER NAME HERE/societiesanticor.org.git
    
    • with ssh
        git clone git@github.com:YOUR USER NAME HERE/societiesanticor.org.git
    

Prerequisites

  • PHP
  • MySQL
  • Symfony 5
  • Composer

Server

Windows & Linux

Use php web-server, such xampp or use the native server from symfony cli.

Usage for xampp-like servers:

  • Once, installation is done,
  • Place or git clone the project into htdocs.
  • Run your server.

Usage for symfony cli:

  • Once the installation is done,
  • Open your terminal, use command cd in the project.
  • Use symfony serve to start the project.

Database

if you are using xampp-like database, use its built-in database (Windows & Linux), or use install Mysql installer (Windows only).

Linux
# assuming you use ubuntu
sudo apt install mysql-server

Usage:

  • At the root of the project copy the .env
  • Paste and rename it to .env.local
  • Change the line
DATABASE_URL=mysql://USER_HERE:PASSWORD_HERE@127.0.0.1:3306/initiative?serverVersion=5.7 
  • Note: most basic install has root and no password for install. (If you need help for the install, open an issue with INSTALL HELP as title, we will be happy to help).

If you've completed all the usage at each step, proceed with command-line below (at the root of the project):

Note: In case you have error like The server requested authentication method unknown to the client in Mysql 8, login into your mysql-cli, execute:

ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'root';  

Composer

Windows & Linux

Usage:

  • After installation,
  • At root of the project, run on command composer install.
  • This will install all the project dependencies.

Setup

  • Create database:
CREATE DATABASE initiative;
  • Create migration:
php bin/console d:m:m
  • Load fixtures:
php bin/console doctrine:fixtures:load
php bin/console import:referentiels -dtrue

Contributing

Contributions should be made by pull request to the develop branch.

Pull requests are accepted once reviewed, which includes an intergration and test by a moderator as well as a code review.

Read our Guidelines for contributing.

License

Copyright (c) "Société AntiCOR" 2020

Released under the ____, see the LICENSE file to read the full text.