Skip to content
This repository has been archived by the owner on Sep 15, 2023. It is now read-only.

Latest commit

 

History

History
74 lines (44 loc) · 2.59 KB

README.md

File metadata and controls

74 lines (44 loc) · 2.59 KB

Atoti Project Adaptation

This project shows how we can translate the Atoti notebook - French presidential election 2022 - into an actual project, ready for deployment into Heroku.

It is adapted from the Atoti project template.

On top of the atoti package, it comes with:

Usage

Installation

Commands

To get a list of the commands that can be executed to interact with the project, run:

poetry run app --help

A few examples:

  • Start the app:

    poetry run app start
  • Reformat the code:

    poetry run app format

Atoti

This version includes authentication which requires the locked version of Atoti.
Authentication is required in order to control access to the web application and prevent overwriting of dashboards by unauthorized personnel.
Refer to create_users.py for the authorized users and their access rights.

You can register online for an evaluation license and check out how to unlock all features of Atoti.

Required environment variables

  • ATOTI_LICENSE: contains the Base64 encoded content of your license key file that is required to start the application.

Refer to Atoti documentation on how to set up the license key.

Deploy to Heroku

This project also includes the modifications required to deploy it to Heroku.

Click on the button below to deploy this project to Heroku:

Deploy

Note: to deploy a project started from this template, remember to change the repository value in app.json.