Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is LocalInference

Set up:

In backend/, create a .env file with the following parameters:

DB_URL=postgresql+asyncpg://postgres:party@li-pgsql-db:5432/postgres
JWT_SECRET=f6c00a8672387df665c7dfb8de17ecd7
JWT_ALGORITHM=HS256

Next, in frontend/, create a .env.dev file with the following parameters:

VITE_API_BASE_URL=http://127.0.0.1:8000

NOTE:

Must have docker installed first.

Then have to individually execute docker compose up li-pgsql-db to run the database first then docker compose up li-server-py to initialize database with placeholder data, and docker compose up li-frontend-tsx whenever.

When you are done with the docker containers, you can run docker compose down to turn the containers off.

After doing the above, the next time you run the setup, you can just quickly run docker compose up and all should be well.

About

Caceres Project

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages