Git Product home page Git Product logo

appsy_project's Introduction


Testify

A school project to propose a complete system for psychomotor testing

Build Status Code Covegarde

AboutGetting StartedDownloadAuthorsLicense

About

Testify is a school project where we need to design a complete system for training centres and driving schools to enable them to perform psychomotor tests.

This repository contains the files of the entire IT part of the project, i.e. the website used by the examination subjects, examiners and those in charge of the centre or driving school.

The website must be created with PHP without any framework. Only the JQuery library for the frontend is allowed. We chose to develop the project under PHP 7.+ under an MVC architecture with a RestFull API.

Getting Started

Prerequisites

To make this project work you will need:

  • PHP 7.+
  • A MySQL database server
  • A web server like Apache
  • The XDebug extension if you want to run unit tests (PHPUnit is provided in PHAR format in tools/ folder)

Installing

  • Put all the files in your site directory
  • Configure your web server to serve the appsy_project/public/ folder directly.

A example with Apache in your httpd.conf file:

DocumentRoot "path/to/appsy_project/public"
<Directory "path/to/appsy_project/public">
    Options FollowSymLinks Includes ExecCGI
    AllowOverride All
    Require all granted
</Directory>
  • Configure your web server to declare 3 environment variables: SMTP_HOST, MAIL_USERNAME and MAIL_PASSWORD.
    • SMTP_HOST: This is the address of the mail server to communicate to. Eg: smtp.gmail.com
    • MAIL_USERNAME: This is the sender email address (used to send registration emails)
    • MAIL_PASSWORD: This is the password for authenticating the email address defined above.

A example with Apache in your httpd.conf file:

SetEnv SMTP_HOST smtp.gmail.com
SetEnv MAIL_USERNAME [email protected]
SetEnv MAIL_PASSWORD my_password
  • On your MySQL server create a database called testify. Import the tools/testify.sql script into your MySQL server to get the different tables needed by the project.
  • Everything is ready you can now access your site!

Utils CLI

We provide a mini PHP cli application with some util commands. Here the list of the different commands available:

  • clear-cache : Clear the cache within app/cache folder. (Basically it delete all .php and .chtml files)

Running the tests

To run PHPUnit on the unit tests you have two different configuration files, one for the Framework tests and the other one for the Project tests. You can start them by the following commands:

$ php tools/phpunit.phar --configuration framework.xml.dist
$ php tools/phpunit.phar --configuration project.xml.dist

Download

You can download the latest installable version present in releases.

Authors

Licence

MIT


isep.fr  ·  2019-2020  ·  Projet d'APP

appsy_project's People

Contributors

astropilot avatar francois-chiv avatar nnahoy avatar

Stargazers

 avatar

Watchers

 avatar  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.