mirror of
https://github.com/techno-tim/littlelink-server.git
synced 2024-11-23 05:35:28 +01:00
994 B
994 B
Contribution Guide
This guide will help you set up an local development environment and give you some tips how to contribute new buttons configurations to this project.
Local Development Environment
Local Container
- Make sure to have a running docker installation
docker compose up --build
- Access the local container via http://localhost:8080
Contributing
Add new button
- Choose a meaningful name for the service you are adding. Make sure to use the same name everywhere.
- Add button class in
public/css/brands.css
. Make sure the background/font color matching the logo. - Put the logo as SVG into
src/icons
and import it insrc/components/Home/Home.js
. - Add component for the button into
src/components/Home/Home.js
. - Add environment variable config into
src/config.js
- Add the environment with an example value in
docker-compose.yml
Afterwards, build the container via docker (see above) and check if the button is displayed correctly.