Skip to content

Beautiful Django based IOT platform. Front-end - Simple JS, Django based HTML templates and CSS. Backend - Purely Django, sqlite. Nothing complex.

Notifications You must be signed in to change notification settings

RennexTech/CyberIOT

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Welcome to CyberIOT: The Hub for Tech and IOT enthusiasts!

First, Django is obviously in a newer version, this project is 2 years old, so, there might be a conflict. Deal with that. Solve it fellow.💀👊✨Let's go!

============================

I will explain the project structure:

accounts - Extends the Django authentication system. Login, signup and reset. Reset page isn't implemented.

bug - vulnerability tracking module, handles all things related to blogposts.

channel, channelaccount, video - these are the learninghub modules working together to present the youtube-like video platform in one place.

chatzone2 - Chatting application.

cyberiot - The core Django app that handles the combined settings for all the other modules.

exploits - The Vulnerability reporting module.

machina - A bit more complex than the other modules. Customized from Django machina.

mainpage - landing page where you see all the six modules.

marketchat, marketdash, marketitem, marketcore - all the 4 marketplace modules.

media - folder that handles media resources.

notifications - notifications app that was to display notifications, not yet implement.

profiles - user's profile app, takes the data from accounts after you sign up and updates it on your profile.

settings - not implemented. I wanted features like dark mode, but they are a bit difficult and not important.

static - handles all the static files for the project.

templates - I tried to label them properly so that you can find the specific app's templates.

terms - privacy policy page, terms and conditions page.

============================

Mainpage: Displays the 6 modules for the whole forum. The official landing page for the entire application.

image

Forums: Discuss about IoT. Based on Django Machina, but uniquely customized for CyberIOT.

image

IoT Marketplace: Buy and sell IOT gadgets. It's a tiny Amazon for IOT/tech people.

image

LearningHub: Watch videos about IoT. Simpler than YouTube! Knowledge is power, and power is voltage divided by current!🤔🤣

image

VulnerabilitiesHub: Found a loophole? Report it to keep the technology castle standing!

image

image

Vulnerability Tracking: Fixed IOT vulnerabilities news, part cybersecurity news, partly personal blogs.

image

Chat: Search for users, chat privately, and update your profile to show off your IoT street cred.

image

image

CyberIOT: Where we connect people who connect everything else!

How to run the project:

Load your project in your preferred IDE.

image

Ensure you're in the project's root folder, where manage.py is located. If you're not in that folder, navigate to it with change directory command.

Try loading the project using my existing venv, and if it doesn’t automatically load into the virtual environment when you run it, delete my existing venv and create a new one.

Creating a virtual environment.

image

You can name it as you like, eg myenv can also be python -m venv venv // python -m venv env // python -m venv my_custom_env_name (that's up to you).

Once the venv is created, it will appear over there as a folder.

Activate the virtual environment(venv):

image

On MacOS and linux:

image

It will reflect in your terminal.

image

Install django on your main computer using pip:

image

Then come back and install the requirements.txt, it will take lots of time and also if you're using pycharm, indexing can take around 10 to 20 minutes:

image

You don't need to do migrations, unless you've changed the tables structures:

image

The project has an sqlite database with migrations already done, so you don't need to setup anything else.

Optional: Create another superuser, ensure you're in venv before you create the superadmin:

image

Every user's username and password is: username, ghoster123@@#

The database is sqlite(file-based) you don't need to install anything, django automatically supports it.

Registered users (Visit the chat app search functionality to see all users listed).

Just type their name or their email and the password in the login page.

Current's superadmin username and password is: cyberiot || ghoster123@@#@@#

NOTE: The project has some unfinished parts, like the settings page, reset password page, and a few more things like 404 pages for access control.

For pycharm users, ensure that you've configured you server properly, else the project won't work.

Ensure python is well installed and added to path on your main computer. And django is installed too. Then you can load pycharm and configure the server in settings.

image

image

About

Beautiful Django based IOT platform. Front-end - Simple JS, Django based HTML templates and CSS. Backend - Purely Django, sqlite. Nothing complex.

Topics

Resources

Stars

Watchers

Forks

Sponsor this project