Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
A
app-pghm
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 19
    • Issues 19
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Projets-INFO4
    • 1
      19-20
  • 8
  • app-pghm
  • Wiki
  • Home

Last edited by Thomas Frion Aug 28, 2020
Page history

Home

PGHM Project

Table of content

  • Installation
  • Run the project
  • Load data from CSV file
  • Deployment
  • API Client
  • Modal Generator

Run the project

To start apps is necessary to always follow the order below:

  1. Start the API. Go to app-pghm/choucas/choucas and run the following command $ python manage.py runserver. Wait for the message that indicates the access URL (usually http://localhost:8000/).
    • If you want run a dev server with https (useful for the geoloc), you can run this command $ ./runsslserver
  2. Start the web app. Go to app-pghm/GendLoc and run the following command $ npm start or $ ng serve. Wait for the message that indicates the access URL (usually http://localhost:4200/).

Troubleshooting

Node version

If there is tooble with node at launch, you have to upgrate node then you can follow the lines below:

$ sudo npm cache clean -f
$ sudo npm install -g n
$ sudo n stable

To many watcher

If you have an error like this Error: ENOSPC: System limit for number of file watchers reached, watch, copy and paste the command below to fix it.

$ sudo echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
Clone repository
  • API Client
  • Deployment
  • Installation
  • Modal Generator
  • Home