Openg2p Portal Server
This page provides comprehensive documentation for the installation of Openg2p Portal Server
Installation
Prerequisites
Any machine running Linux (e.g., Ubuntu), macOS, or Windows
Python3.10 or later
Git
PostgreSQL
virtualenv
Python dependencies
The following dependencies are managed in the installation steps below.
fastapi ~=0.103.1
uvicorn[standard] >=0.12.0
gunicorn ~=22.0.0
asyncio ~=3.4.3
pydantic-settings ~=2.0.0
pydantic-extra-types ~=2.0.0
python-multipart >=0.0.5
httpx >=0.23.0
sqlalchemy ~=2.0.20
json-logging ~=1.3.0
orjson ~=3.9.7
cryptography ~=41.0.4
python-jose ~=3.3.0
python-slugify>=8.0.0
psycopg2
asyncpg
SQLAlchemy
email-validator
openg2p-fastapi-common
openg2p-fastapi-authSteps to install
Install from source
Install dependencies
Create a Portal folder.
Navigate to the Portal folder.
Clone the repository.
Create a virtual environment with Python 3.10
Activate the virtual environment.
Install the necessary dependencies.
Create a '.env' file
Run migrations to set up the database.
Seeding the database (optional)
This will seed the database with default values.
Quick start
Start the development server.
Access Swagger API Documentation.
Last updated
Was this helpful?

