An open API service indexing awesome lists of open source software.

https://github.com/librepcb/librepcb-libraries-admin

Administration scripts for LibrePCB libraries
https://github.com/librepcb/librepcb-libraries-admin

Last synced: 12 months ago
JSON representation

Administration scripts for LibrePCB libraries

Awesome Lists containing this project

README

          

# LibrePCB Library Administration Scripts

## Create Virtualenv

mkvirtualenv -p `which python3` librepcb-libraries-admin

## Install Requirements

pip install -r requirements.txt

## Create Configuration

Create a file `options.json` with following content:

```json
{
"--token": ""
}
```

## Test Deployment

./deploy.py

## Deploy Only To LibrePCB_Base.lplib

./deploy.py --apply LibrePCB_Base.lplib

## Deploy To All Libraries

./deploy.py --apply

## Upgrade Libraries File Format

To upgrade libraries to a new file format, you need to have Docker installed.
Then run the following command (combined with the flags documented above):

./deploy.py --upgrade 1.0.0-rc1

With `1.0.0-rc1` representing the tag of the `librepcb/librepcb-cli` Docker
image to be used for the upgrade.