Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ccrsxx/pywebapp
Minigames web app built with Streamlit in Python
https://github.com/ccrsxx/pywebapp
python streamlit
Last synced: 3 months ago
JSON representation
Minigames web app built with Streamlit in Python
- Host: GitHub
- URL: https://github.com/ccrsxx/pywebapp
- Owner: ccrsxx
- License: mit
- Created: 2021-10-15T09:06:06.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2024-01-12T17:44:51.000Z (about 1 year ago)
- Last Synced: 2024-10-11T10:51:39.563Z (4 months ago)
- Topics: python, streamlit
- Language: Python
- Homepage: https://ccrsxx.herokuapp.com
- Size: 3.46 MB
- Stars: 17
- Watchers: 4
- Forks: 6
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# University Project
![Build](https://github.com/ccrsxx/pywebapp/actions/workflows/codeql-analysis.yml/badge.svg)
[![Streamlit](https://static.streamlit.io/badges/streamlit_badge_black_white.svg)](https://share.streamlit.io/ccrsxx/pywebapp/main/app.py)
[![Heroku](https://pyheroku-badge.herokuapp.com/?app=ccrsxx)](https://ccrsxx.herokuapp.com)
[![Code style: black](https://img.shields.io/badge/code%20style-black-000000.svg)](https://github.com/psf/black)
[![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)## About
I made this web app to finish a project assigned by my teacher. It is written entirely in Python, thanks to [Streamlit](https://github.com/streamlit/streamlit) to make it possible.
It contains three games. The games are:
1. Guess Number
2. Guess Word
3. Tic Tac Toe## Installation and usage
You can either run it on your local machine (localhost) or host it on a server, in my case I use Heroku.
### Local
1. Clone this repository. Make sure [git](https://git-scm.com/) is installed and run:
```bash
git clone https://github.com/ccrsxx/University-Project.git
```2. Install the dependencies with pip. Run:
```bash
pip install -r requirements.txt
```3. Run the web app. Run:
```bash
streamlit run app.py
```### Heroku
1. Clone this repository. Make sure [git](https://git-scm.com/) is installed and run:
```bash
git clone https://github.com/ccrsxx/University-Project.git
```2. Login to your Heroku account. Make sure [heroku-cli](https://devcenter.heroku.com/articles/heroku-cli) is installed and run:
```bash
heroku login
```3. Create the app name, this will be your site name. Run:
```bash
heroku create sample_app
```4. Push all the files to Heroku. Run:
```bash
git push heroku master
```