A repository that hosts my full-stack personal blog.
HTML, CSS, Bootstrap, Javascript, Python, Django, SQLite, PostgreSQL.
Keep in mind the examples below are Window's commands. Mac and Linux have different commands when doing the installation. This project uses Python 3.8.16 and Django 4.2.1
Create a virtual environment using python:
python -m venv blog
Now activate the virtual environment.
blog/Scripts/activate
Now use the package manager pip to install the requirements.txt file. While the virtual environment is activated.
pip install -r requirements.txt
If you installed all the packages from the requirements.txt correctly then you should be able to use login and registration right away.
To run the project make sure to be in the right directory.
Now you should makemigrations and then migrate.
python manage.py makemigrations
python manage.py migrate
Then finally, you can run the server. Make sure you are back to the following directory: Personal-Blog\Blog\
python manage.py runserver
Additionally you can also create a superuser.
#optional
python manage.py createsuperuser
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.