Conp Portal screenshot

Conp Portal

Author Avatar Theme by Conp pcno
Updated: 9 Jan 2026
8 Stars

:bar_chart: The CONP data portal

Categories

Overview

The CONP Portal is a web-based application built with Flask, a Python web framework. It requires Python 3.7 and can be run within a Python virtual environment. The application utilizes a database, with SQLite3 recommended for testing purposes. The application can be tested using the pytest framework and follows coding standards for maintainability and readability.

Features

  • Flask-based web application
  • Utilizes a database, with SQLite3 recommended for testing
  • Testing framework using pytest
  • Coding standards for maintainability and readability
  • Experimental testing cases being explored with AWS Cloud 9
  • Deployed on Heroku (more information to be available soon)

Installation

To install the CONP Portal, follow these steps:

  1. Install Python 3.7
  2. Create a Python virtual environment called venv
    $ python3 -m venv venv
    
  3. Activate the virtual environment
    $ source venv/bin/activate
    
  4. Install Flask dependencies
    $ pip install -r requirements.txt
    
  5. Initialize the Flask environment
    $ export FLASK_APP=conp_portal
    $ export FLASK_ENV=development
    
  6. Specify a database environment (SQLite3 recommended for testing)
    • Install SQLite3 for your system (see https://www.sqlite.org/index.html)
      $ sqlite3
      
    • Edit the DATABASE_URL in .flaskenv, replacing <ENTER FLASK TOP DIR> with the path to your top level Flask directory
    • Initialize the test database
      $ flask initdb
      
  7. Run the application
    $ flask run
    

The application should now be live on http://localhost:5000/

Summary

The CONP Portal is a Flask-based web application that requires Python 3.7 and utilizes a database. It can be installed within a Python virtual environment and follows coding standards for maintainability and readability. Additionally, the application can be tested using the pytest framework and experimental testing cases are being explored with AWS Cloud 9. The CONP Portal is deployed on Heroku, with more information to be available soon.