Skip to content

campunix/campunix-admin-api

Repository files navigation

CampUnix Admin API

REST API for CampUnix administration.

Prerequisites

  • 🐍 Python 3.11.0
  • 🌐 Pyenv
  • 🐘 PostgreSQL

Setup Steps for macOS

  • Install Pyenv 3.11.0

    pyenv install 3.11.0
  • Navigate to the Project Directory

    cd {project_path}/campunix-admin-api
  • Enable Pyenv

    pyenv local 3.11.0
    eval "$(pyenv init -)"
  • Create a Virtual Environment

    python -m venv .venv
  • Activate the Virtual Environment

    source .venv/bin/activate
  • Install Poetry

    pip install poetry
  • Install Dependencies

    poetry install
  • Run Alembic Migration

    alembic upgrade head
  • Seed the Database

    python -m db_seed.seeder

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages