Skip to content

Francoralite/francoralite

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Francoralite

example workflow codecov

Installation

System dependencies

  • Install Docker

See Docker CE

  • Install tkinter
apt-get install python-tk python-gst-1.0 python-dev libmysqlclient-dev

Git dependencies

  • Clone the repository
git clone [email protected]:francoralite/francoralite.git
  • Manage sub modules
git submodule update --recursive --init

Run stack

You must have docker compose installed inside a Python2 virtualenv

docker-compose up

Run tests (back and front)

We need to install tests dependencies inside container before run tests

docker-compose exec app bash -c 'pip install --no-cache-dir .[tests]'
docker-compose exec app bash -c './scripts/deps_selenium.sh'

Now, we can launch all tests

docker-compose exec app bash -c 'py.test -Werror -x'

In case, we want to launch front tests only

docker-compose exec app bash -c 'py.test francoralite/apps/francoralite_front/tests/ -x'

Generate graph models

docker-compose exec app bash -c './scripts/generate_graph_models.sh'

URLs

Replace 50000 with your Traefik listening port

With Traefik as reverse proxy, you can use explicit fqdn instead IP addresses.

During development, all services are accessible behind the reverse proxy but this must be change for the production deployment.

Documentation

You MUST update the permission linked to these URLs