- Python 3.9.x
- Latest pip version 22.0.x
- create a user on the db with username='admin' and password='admin' with all the admin/root privileges
- create a database named 'blog'
- import the Assets/blog.sql file on to the database
- make sure the server is up and running and using the default port
- execute the following command on the root directory(basically inside the code repository) to set up the virtual environment
$ python3 -m venv venv
- execute the below command on the same directory to use or activate the virtual environment
-
Windows
$ venv\Scripts\activate
-
Linux
$ source venv/bin/activate
- install the dependencies using the following command using the virtual environment
$ pip install -r requirements.txt
- run the following command to start the kivy app using the virtual environment
$ python Main.py
- Public Screen (Home Icon)
- Used to view posts that are not restricted. Anyone can view without logging in
- Members Screen (Group of people Icon)
- Used to view posts that are member restricted. only logged in registered users can view posts in this section.
- Private Screen (Lock Icon)
- Used to display all the posts made by the current logged-in user and gives them teh ability to edit and delete posts their posts.
- Create Post Screen (Plus Icon)
- logged-in member will be able to create a blog post. They can choose between public view and member only view.
- Admin Screen (Head Icon)
- If the logged-in user is the admin then he'll be able to view all the activity related log entries on a list
- Login/Registration Screen (Power Icon)
- Can log in as a normal member or an admin. Or you can register as a non-admin user.
- Admin user
username: admin
password: Admin$123
- Member user
username: charles
password: Charles$123
Note: This program was developed as part of an assessment given by the Middlesex University