Skip to content

A community based ("Reddit-style") chat app with Pi Network user authentication and payment functionality.

License

Notifications You must be signed in to change notification settings

pi-apps/crumbles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

crumbles

A community-based ("Reddit-style") chat app built with Flask.

crumbles.png

Based on flaskeddit by - aqche - aqche

Features

  • Registration and authentication.
  • Reset Password via Email.
  • Create communities.
  • Create community posts.
  • Reply to community posts.
  • Edit or delete your communities, posts, and replies.
  • Join communities.
  • Get a feed of posts from your joined communities.
  • Upvote or downvote posts and replies.
  • Sort communities, posts, and replies by latest or most popular.
  • Moderate communities.
  • Basic user profiles.

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development. See deployment for notes on how to deploy the project.

Prerequisites

To run this application you need Python, pip, and SQLite.

Local Setup

Clone the project.

git clone https://github.com/pi-apps/crumbles.git

Setup a virtualvenv and use pip to install the project dependencies.

cd crumbles
python3 -m virualenv venv
source venv/bin/activate
pip3 install -r requirements.txt

Set the FLASK_APP environment variable, create the SQLite database, and start the app. Now you can give the application a try at http://localhost:5000!

export FLASK_APP=flaskeddit.py
flask cli create_db
flask run

Deployment

crumbles can be hosted on pythonanywhere. You have to register at pythonanywhere and upload the files. Additionally you have to use the __init__-pythonanywhere.py file within the flaskeddit-folder.

Then make following changes to the wsgi configuration file in the web-tab:

# import flask app but need to call it "application" for WSGI to work
from flaskeddit import created_app as application  # noqa

Built With

Contributing

Feel free to submit a pull request!

Authors

License

This project is licensed under the PiOS License - see the LICENSE file for more details.

Acknowledgments

  • flaskeddit by - aqche- The inspiration for this site.
  • Phoenix - Art Design

About

A community based ("Reddit-style") chat app with Pi Network user authentication and payment functionality.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published