The Django website for the Beyond Heroes Project
 
 
 
Go to file
Surya cb4e2d2236 Delete users/urls.py 2024-07-24 22:49:18 +02:00
BH Update BH/urls.py 2024-07-24 22:48:46 +02:00
blog Update blog/views.py 2024-07-24 22:41:34 +02:00
media Fixed the Images 2024-07-07 11:51:22 +05:30
templates Delete templates/blog/blogCreate.html 2024-07-24 22:42:02 +02:00
users Delete users/urls.py 2024-07-24 22:49:18 +02:00
.gitignore Create .gitignore 2024-07-13 05:48:52 +05:30
README.md Update README.md 2024-07-24 22:31:09 +02:00
db.sqlite3 Added the Post Button when Staff 2024-07-17 05:43:05 +05:30
manage.py Finally changed module name 2024-07-07 08:20:32 +05:30
requirements.txt cleaned requirements.txt 2024-07-15 15:47:11 +02:00
server.bat initial commit 2024-07-06 20:29:07 +05:30

README.md

Deployment

To deploy the website:

  • first clone the repository to any local folder
  • then open the folder with the manage.py file
  • then Shift+Right Click and click on Open PowerShell window here
  • then create the virtual environment by typing py -m venv .venv
  • then activate the virtual environment by typing .venv\Scripts\Activate
  • then install the requirements by typing pip install -r requirements.txt
  • then type in py manage.py runserver 3000
  • open browser at address localhost:3000 or 127.0.0.1:3000

Structure

The website has a Home page and a News page currently. The News page shows all developer blogs.

Problems and Development

Currently, there are the following problems:

  • the page needs a Dark Mode
  • Ability for staff to add blogs directly

If you find any problems and have a solution in code then please consider making a pull request, using the Create a new branch for this commit and start a pull request option with an appropriate branch name.