add README.md
This commit is contained in:
parent
63df4b7edd
commit
0d8daf15ad
13
README.md
13
README.md
@ -0,0 +1,13 @@
|
||||
### Step 1: Preparing configuration
|
||||
|
||||
Prepare the `config.toml` at the base of the repository. It is important to adjust the database configuration as well as the `browser_path`.
|
||||
|
||||
|
||||
### Step 2: Install dependencies
|
||||
|
||||
Use `pip install -r requirements.txt` to install the requirements. The usage of a venv is recommended.
|
||||
|
||||
|
||||
### Further
|
||||
|
||||

|
||||
4
activity_diagram.svg
Normal file
4
activity_diagram.svg
Normal file
File diff suppressed because one or more lines are too long
|
After Width: | Height: | Size: 9.8 KiB |
@ -11,6 +11,7 @@ async def main():
|
||||
badges = await db.get_user_badges()
|
||||
|
||||
badge_generator = BadgeGeneratorService("config.toml")
|
||||
|
||||
for user_badge in badges:
|
||||
badge_generator.generate_badge(
|
||||
user_name=user_badge["user_name"],
|
||||
|
||||
BIN
template/default_user_image.png
Normal file
BIN
template/default_user_image.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
Loading…
Reference in New Issue
Block a user