Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a new footer at Mote's message #698

Open
wants to merge 5 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 3 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions README.md
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please undo the changes made on the README.md file?

It is irrelevant to the purpose of the pull request.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,34 @@ The web service has the following features
$ (venv) mote -p 9696 -4
```

## Setup Guide for Mac Users

1. Install [Python 3](https://www.python.org/), [Virtualenv](https://virtualenv.pypa.io/en/latest/) and [Poetry](https://python-poetry.org/) on mac machine.
```
$ brew install python@3 virtualenv poetry
```
2. Extract the previously downloaded archive of meeting logs in the `/srv/web` directory.
```
$ mkdir -p /srv/web
$ tar -xzf meetbot.tar.gz -C /srv/web
```
3. Create and activate the virtual environment.
Navigate into the directory where you extracted the meeting logs.
Create and activate a virtual environment:
```
$ cd /srv/web
$ virtualenv venv
$ source venv/bin/activate
```
4. Install the defined packages from the Python project configuration file.
```
$ (venv) poetry install
```
5. Start the development server on an IPv4 address and on port 9696.
```
$ (venv) mote -p 9696 -4
```

## Accessing

The project is be served on http://localhost:9696/ and with appropriate firewall rules, it should be accessible to the devices connected to the same network.
Expand Down
Binary file added mote/static/imgs/red-hat-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
13 changes: 13 additions & 0 deletions mote/templates/statfile.html.j2
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,17 @@
</span>
</div>
</div>
<div class="mx-auto flex max-w-screen-xl flex-wrap lg:flex-nowrap lg:justify-center">
<div class="w-[200px] flex-none pb-6 lg:pb-0">
<img class="FPImage mb-2 xl:mb-0" src="../imgs/red-hat-logo.png" alt="Sponsored by Red Hat Logo">
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please refrain from using relative references in the assets and use Static Files to refer to these files.

</div>
<div class="w-full">
<div class="flex justify-center px-4">
<p class="text-white">Fedora is sponsored by Red Hat. <a href="https://docs.fedoraproject.org/en-US/quick-docs/fedora-and-red-hat-enterprise-linux/" class="block w-full text-fp-gray underline underline-offset-1"><!--[-->Learn more about the relationship between Red Hat and Fedora.<!--]--></a></p>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is there a reason why the square brackets are commented out over there?

Is it possible to remove them because they are not visible anyway?

</div>
</div>
<div class="w-[200px] flex-none">
</div>
</div>

{% endblock %}