Skip to content
This repository has been archived by the owner on Mar 20, 2019. It is now read-only.
/ mdph Public archive

Faciliter les demandes de compensation du handicap auprès des MDPH

Notifications You must be signed in to change notification settings

betagouv/mdph

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Projet de simplification des demandes à la MDPH

Build Status

Getting Started

Prerequisites

Testing

Unit tests

  • yarn test will run the tests with karma and mocha.
    • You can also add :front or :back to run either front or back tests.

End to end tests

  1. Run yarn local-server to start a server on a testing environment

  2. Run yarn local-e2e to install a selenium webdriver and run protractor on it

Running

Running the app in development

  1. Run yarn install to install server dependencies

  2. Run mongod in a separate shell to keep an instance of the MongoDB Daemon running

  3. Run yarn dev to start the development server. It should automatically open the client in your browser when ready.

Testing

Unit tests

  • yarn test will run the tests with karma and mocha.
    • You can also add :front or :back to run either front or back tests.

End to end tests

  1. Run yarn local-server to start a server on a testing environment

  2. Run yarn local-e2e to install a selenium webdriver and run protractor on it

Running the app in production

  1. Run yarn build to install server dependencies

  2. Run yarn start to run the app in production mode

Running the app in Docker

Use docker-compose up to start the application within a docker container. The docker application is bundled with an empty database.

Deployment

We use PM2 deploy, pm2 deploy pm2.json to deploy the application and run it.

Libraries

To build the UI bootstrap library (v0.13.3), create a custom build with these dependencies:

  • Button
  • Dropdown
  • Modal
  • Tooltip
  • Typeahead

About

Faciliter les demandes de compensation du handicap auprès des MDPH

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published