Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

fantix/gen4

Repository files navigation

Gen3 on EdgeDB

Codacy Badge Codacy Badge

This is a PoC project to build Gen3 on EdgeDB. The server is built with FastAPI and packaged with Poetry. The API is not compatible with Gen3.

Installation

Install required software:

Then use make to install the dependencies. Before that, a virtualenv is recommended. If you don't manage your own, Poetry will create one for you during make, and you must activate it by:

poetry shell

Optional requirements:

Development

Create a file .env in the source code with:

DB_USER=...
DB_PASSWORD=...

Run the server (both Python and Web dev server) with auto-reloading:

gen3 run

Try out the website at: http://localhost:8080/.

To run tests:

pytest --cov=gen3 tests

Server-only or Web-only

Run only the server:

gen3 run --no-web

Run only the Web dev server under web folder:

yarn serve

Deployment

To make a release:

make dist

To clean releases:

make clean

About

Gen3 Data Commons (EdgeDB PoC)

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published