IT21173486 - Migara H.M.S
IT21170270 - Maduranga D.B.W.N
sample README text file outlining the installation and setup process for your Flask application:
This Flask application provides a simple chat platform with user authentication, friend requests, real-time messaging, and blockchain integration for secure message transmission.
- Python 3.6 or higher
- MongoDB
- IPFS (InterPlanetary File System)
- Ganache (for local blockchain development)
-
Clone the Repository:
git clone https://github.com/yourusername/flask-chat-blockchain.git cd flask-chat-blockchain
Install Dependencies:
pip install -r requirements.txt
Set Up MongoDB:
Install MongoDB on your system if you haven't already. Create a MongoDB database named BlockChain. Update the MongoDB connection string in main.py if necessary.
Set Up IPFS:
Install IPFS and start a local IPFS node. Update the IPFS connection details in main.py if necessary.
Set Up Ganache (for Blockchain Integration):
Install Ganache (a local Ethereum blockchain). Run Ganache and ensure it's listening on http://127.0.0.1:7545.
Run the Application:
python main.py
Access the Application:
Open a web browser and go to given URL to access the chat application.