DjCMS is a Django-based web application that allows users to upload their own articles and embed YouTube videos. This project is perfect for bloggers, content creators, and website owners who want to have full control over their content.
For testing purpose you can visit djcms.
Want to write blogs? Use this username and password:-
USERNAME: github_test
PASSWORD: github_test
- User authentication and authorization
- Article creation, editing, and deletion
- YouTube video embedding
- Responsive design
- Search functionality
- Like system
- Commenting and replying system
- Categorising (tagging) system
- Bookmark system
- Clone the repository:
git clone https://github.com/dev-bittu/djcms.git
- Create a virtual environment and activate it:
pip install virtualenv
virtualenv env
source env/bin/activate # for Linux/MacOS
env\Scripts\activate.bat # for Windows
- Install the dependencies:
pip install -r requirements.txt
- Create a .env file in the root directory of the project and add the following variables:
SECRET_KEY=your_secret_key_here
DEBUG=True
- Run the migrations & migrate:
python manage.py makemigrations
python manage.py migrate
- Create a superuser account:
python manage.py createsuperuser
- Run the development server:
python manage.py runserver
- Open your browser and go to http://localhost:8000/admin to access the admin panel. Log in with the superuser account you created earlier.
- Login as author (create superuser; superuser is an author).
- To create a new blog, go to Manage > Blogs and then click on Create New button.
- Fill in the required fields (title, content, categories) and add a featured image.
- To embed a YouTube video, copy the video ID from the URL (e.g. https://www.youtube.com/watch?v=abcdefg) and paste it into the "YouTube video ID" field.
- Click on the "Publish" button to publish the blog.
- To view the blog on the website, go to http://localhost:8000/latest in your browser, then select blog what you want to read.
- To search for blogs, use the search bar on the top of the website (navbar).
- To leave a comment on an blog, scroll down to the bottom of the blog page and fill in the comment form.
- Add forget password
- Share blogs
- Change password
- Profile
- User logo
- Notification system
Contributions are welcome! If you find a bug or want to suggest a new feature, please open an issue on GitHub. Pull requests are also appreciated.
This project is licensed under the MIT License. See the LICENSE file for details.