Skip to content

qhess34/vigilo-backend

This branch is 3 commits ahead of, 45 commits behind jesuisundesdeux/vigilo-backend:master.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

author
qhess34
Aug 24, 2021
436bc1b · Aug 24, 2021
Oct 2, 2019
Aug 24, 2021
Apr 13, 2019
Sep 23, 2019
Apr 11, 2019
Apr 13, 2021
Feb 13, 2020
Mar 18, 2021
Apr 13, 2021
Feb 27, 2020
Oct 6, 2020
May 15, 2019
May 24, 2019
May 15, 2019
Feb 27, 2020
Nov 19, 2019
Apr 2, 2019
Feb 27, 2020
May 20, 2019
Feb 27, 2020
Apr 25, 2019
Apr 11, 2019

Repository files navigation

Vigilo Backend Build Status

REST API to manage observations of the Vigilo app.

Documentation can be found here.

Development Quick Start

# Start server with 10 observations
make install-with-data

# verify you can get all observations http://localhost/get_issues.php

Test

Unit test

# PHP unittest with mysql server
make ENV=unittest stop clean init-db start unittest

Functional test - shunit2

# make install-with-data (required)
make test-webserver

Test library : https://github.com/kward/shunit2/

Tools

# List all available commands
make

# Start server with data
make install-with-data

# PHP unittest without mysql server
make unittest

# PHP unittest with mysql server
make ENV=unittest stop clean init-db start unittest

# Test application with cleaned database
make ENV=dev SCOPE=montpellier stop clean init-db start test-webserver show-db

# Start server with backuped database
#make backup-db DBSERVER=192.168.0.1
make SCOPE=montpellier BKDATE=20190412233147 stop clean restore-db start show-db

# Startserver with backuped bundle
#make backup-bundle DBSERVER=192.168.0.1
make SCOPE=montpellier BKDATE=20190412233147 stop clean restore-bundle start show-db

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.9%
  • Shell 2.7%
  • Makefile 1.6%
  • JavaScript 1.2%
  • Python 0.8%
  • CSS 0.6%
  • Other 1.2%