Skip to content

Latest commit

 

History

History
78 lines (50 loc) · 1.64 KB

README.md

File metadata and controls

78 lines (50 loc) · 1.64 KB

LayrD Server

Table of Contents

About

Layrd is a social platform that connects unique ideas with the ideal collaborators for academic initiatives.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.

Prerequisites

Isolated python environment setup

Install pyenv

Install python 3.11 using pyenv

pyenv install 3.11

Install pipx

Install virtual env using pipx

pipx install virtual env

Create virtual env

virtualenv .venv

Installing

Activate the environment

source .venv/bin/activate

Install required packages

source ./install.sh

Run migrations

alembic upgrade head

Usage

After running the migrations, to start the server

python3 app.py

The .env file must be present to run the server, .env format speicified in .env_examples

⛏️ Built Using