GithubHelp home page GithubHelp logo

signup-sheet's Introduction

Simple Streamlit project template

The purpose of this repository is to provide an initial project template for Streamlit apps that simplifies and speeds up development.

Development

Get the template

To use the tamplate first clone this repository.

git clone https://github.com/pixpack/streamlit-base.git my-streamlit-app

Move into the templates directory.

cd my-streamlit-app

On Github you can also click the Use this template button to automatically create your own repository based on this template.

Create the development environment

Create a virtual environment.

python -m venv .venv

Activate the virtual environment.

On Linux, macOS.

source .venv/bin/activate

On Windows (Powershell).

.venv/Scripts/Activate.ps1

Get the development dependencies.

python -m pip install --upgrade pip && \
pip install -r requirements.txt

Edit the code

Start editing the app files in the app directory with your favourite editor.

For more information on how to develop Streamlit apps, check Streamlit documentation.

Run the app

Start the app with the streamlit run command.

streamlit run app/main.py

Testing

Run the tests.

pytest

For more information on testing, visit pytest documentation.

Deployment

The template is set up with Docker to deploy the app.

Configuration

Configure the streamlit config.toml to your needs.

When changing the default ports in the configuration, remember to also change them in docker run command.

Build the Docker image.

docker build -t streamlit-app .

Run the container.

docker run -dp 8501:8501 streamlit-app

Contributing

Contributions are very welcome.

To contribute:

  1. Create an issue you would like to work on.
  2. Fork the repository.
  3. Create a pull request and attach the issue.

Acknowledgments

The initial streamlit config comes from the great Awesome Streamlit repository.

signup-sheet's People

Contributors

mukundvarma avatar seshness avatar

Watchers

James Cloos avatar  avatar

Forkers

seshness

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.