Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Backend for FOSSLingo

Deploying (Vercel preferred)

The best (free!) way to host would probably be on Vercel. Click this button to deploy instantly!

Deploy with Vercel

Or, follow these instructions manually;

  1. Create a Vercel account and link your Github account to it (Create a Github account if you don't have one)

  2. Fork FOSSLingo/backend

  3. In Vercel, select "Import Project" and select "backend". This is the repo we forked.

  4. Click "Deploy", and note down the URL it gives you! This URL will be used in your selfhosted frontend.

Self hosting deploy

If you would like to self host the backend on your own machine, follow these instructions.

Tip

We don't cover port forwarding / exposing to the web, but for that, we recommend cloudflared!

This guide assumes you have uv and git installed on a Linux system.

  1. Clone this repo somewhere easy to access:
git clone https://github.com/FOSSLingo/backend
  1. cd into the directory:
cd backend
  1. Create a Python venv:
uv venv venv
  1. Activate the venv:
venv\Scripts\activate
  1. Install dependencies:
uv pip install -r requirements.txt
  1. Start server:
fastapi run main.py --host 0.0.0.0 --port 8000

or run

start.bat

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages