An advanced personal website built with Django Framework.
This project is an Advanced Personal Website built with the Django Framework. This project is not developed to be a complete website, but rather a demonstration of the capabilities of the framework. The website offers a variety of features such as Dynamic site setting including even SEO related features. A simple CMS is also included to allow the user to manage their Information. A mailing system is also included in the project, However this is not fully implemented yet, but In my next project which is probably an encrypted chat application, I will implement a fully encrypted chat system. And the mailing system will be implemented with major features for authentication purposes, I have optimized the database queries as much as i could,Although this project is not built for deployment, Of course this project will get more features added to it over time.it is a good example of how a website can be built with the framework. Feel free to look at the source code for this project on github and use the code for your own projects.
To get started, you will first of all need to have python installed on your computer. You can download python from here. You also need to have the python virtual environment installed. You can download the virtual environment from here.
python3 -m venv venv # creates a virtual environmentsource venv/bin/activate # activates the virtual environmentpip install -r requirements.txt # installs the requirementsIn order for the project to work properly, you will need to create a file named settings_creds.json in the root directory of the project. This file will contain the settings for the project. The settings will be stored in a dictionary and will be imported into the project's settings. :
SECRET_KEY: Some Random String Here
EMAIL_HOST: Email provider's smtp server it would be easier to just use gmail's smtp server 'smtp.gmail.com', However I suggest using outlook's smtp server 'smtp-mail.outlook.com'
EMAIL_HOST_USER: Email provider's username e.g shekooha696@proton.me
EMAIL_HOST_PASSWORD: Email provider's password
{
"secrets" : {
"SECRET_KEY": "Some Random String Here",
"EMAIL_HOST": "smtp.gmail.com",
"EMAIL_PORT": 587,
"EMAIL_HOST_USER": "username@domainname.com",
"EMAIL_HOST_PASSWORD": "PASSWORD",
}
}python manage.py makemigrations
python manage.py migrate python manage.py createsuperuserpython manage.py collectstaticpython manage.py runserverWatching for file changes with StatReloader
Performing system checks...
System check identified no issues (0 silenced).
August 19, 2022 - 07:40:13
Django version 4.1, using settings 'PersonalBlog.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CONTROL-C.