The Django website for the Beyond Heroes Project
 
 
 
Go to file
surya bdc8451f22 Added the Post Button when Staff
Added the ability to post directly from the navbar when logged in as a staff member `User.is_staff == True`
2024-07-17 05:43:05 +05:30
BH Finally changed module name 2024-07-07 08:20:32 +05:30
blog Added the Post Button when Staff 2024-07-17 05:43:05 +05:30
media Fixed the Images 2024-07-07 11:51:22 +05:30
templates Added the Post Button when Staff 2024-07-17 05:43:05 +05:30
users Updated to Blog Detail 2024-07-16 21:55:12 +05:30
.gitignore Create .gitignore 2024-07-13 05:48:52 +05:30
README.md Update README.md 2024-07-16 18:28:44 +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 secret needs to be secret
  • the page needs a Dark Mode
  • Ability for staff to add blogs directly
  • A new layout and design is required

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.