EDeA Backend
This contains the program edead
which handles the API, serving the portal web assets and caching of modules.
Running it
Grab the latest tagged release
from here (to be done), unpack it, adjust the database connection information in config.yml
and run it like this:
./edead
This should output helpful log information to the standard output in case something goes wrong.
Or if you have a working Go installation, you can just run
go get gitlab.com/edea-dev/edead/cmd/edead
go install gitlab.com/edea-dev/edead/cmd/edead
$GOPATH:/bin/edead
Development
- Install Dependencies
We use tilt for live updating and docker compose for the database and search images.
- Clone the repository
git clone https://gitlab.com/edea-dev/edead && cd edead
- Run a local dev environment with tilt
tilt up
That's it.
Running tests
To run the frontend tests:
cd frontend
npx playwright test
Administration
We'll add any routine administrative tasks to the documentation as they arise after the portal goes live on edea.dev.
Dependencies
edead needs a variety of tools to be available on the host to function:
- python >=3.8
- svgcleaner
- svg preparation for caching
- KiCAD 5.x
- plotgitsch
- Plotting differences in the schematic
- mdbook
- rendering of the documentation