The Monthly Wrap is a comprehensive blogging platform, encompassing both front-end and back-end functionalities for publishing and managing content.
Monthly Wrap is an open-source project. We are excited to welcome contributors from the open-source community to help us improve and grow!
- Python and pip installed (for Django)
- Node.js and npm installed (for React)
- Git Bash (for running bash commands)
- Hacktoberfest Accepted: Our repository is officially recognized as part of Hacktoberfest, making your contributions count toward the annual event.
- Contribute to Open Source: Join our community of open-source enthusiasts and make a positive impact.
- Learn and Grow: Gain valuable experience by working on real-world projects and collaborating with experienced developers.
- Make a Difference: Your contributions will help us enhance and expand the project for the benefit of users worldwide.
Please make sure to follow our Contribution Guidelines when contributing to this project.
Check Our Issues: Visit our Issues Page to explore the list of open issues.
Follow the steps below to run vite-react server and django backend server in your browser
-
Fork the repository.
-
Copy the URL of the Forked Repository.
-
Use these commands in your git bash to make a clone of the repository in your pc.
SSH Github Docs
git clone git@github.com:adityyaa-10/monthly-wrap.git
gh repo clone adityyaa-10/monthly-wrap
git clone https://github.com/adityyaa-10/monthly-wrap.git
- Change to the repository directory on your computer.
cd monthly-wrap/server
- Create a virtual environment.
python -m venv [name of the virtual env]
- Activate it.
source [name of the virtual env]/bin/activate
- Install the dependencies.
(env)$ pip install -r requirements.txt
- Set up Environment Variables
Create a .env file in the current directory.
SECRET_KEY=mysecretkey
- Set up database
(env)$ python manage.py makemigrations
(env)$ python manage.py migrate
Note: (env) in the beginning indicates that the terminal session now operates in the activated virtual environment.
- Run development server.
python manage.py runserver
Navigate to the url: http://127.0.0.1:8000/
To run the project in your localhost server, follow these steps.
-
Fork the repository. {Optional}
-
Copy the URL of the repository.
-
Move to project directory
cd monthly-wrap/frontend/
- Install dependencies
npm install
- Run deployment
npm run dev
- Open localhost in any browser of your choice and you are good to go.
Happy contributing! 🚀