Skip to content

Personal-Blog is a CRUD website to manage my blog posts. This was made using Django.

License

Notifications You must be signed in to change notification settings

Marco0201/Personal-Blog

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Personal-Blog

A repository that hosts my full-stack personal blog.

Techs used

HTML, CSS, Bootstrap, Javascript, Python, Django, SQLite, PostgreSQL.

Installation

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

Login and Registration authentication

If you installed all the packages from the requirements.txt correctly then you should be able to use login and registration right away.

Running the Project

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

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License

MIT

About

Personal-Blog is a CRUD website to manage my blog posts. This was made using Django.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published