Thank you for considering contributing to ChatFlix! We appreciate your time and effort to help improve this project. Follow the steps below to set up the project locally and get started.
- Node.js and npm (for the frontend)
- Python and pip (for the backend)
- Django
- Git
git clone https://github.com/r0ld3x/chatflix.git
-
Navigate to the frontend directory:
cd frontend
-
Install the dependencies:
npm install
-
Rename .env.example to
.env
in the root of the frontend directory and add the necessary environment variables. -
Start the development server:
npm run dev
-
Navigate to the backend directory:
cd backend
-
Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows use `venv\Scripts\activate`
-
Install the dependencies:
pip install -r requirements.txt
-
Rename .env.example to
.env
in the root of the frontend directory and add the necessary environment variables. -
Apply the database migrations:
python manage.py migrate
-
Start the Django development server:
python manage.py runserver
Once both the frontend and backend servers are running, you should be able to access the application at http://localhost:3000.
-
Create a new branch for your feature or bugfix:
git checkout -b your-feature-branch
-
Make your changes and commit them:
git commit -m "Description of your changes"
-
Push your branch to GitHub:
git push origin your-feature-branch
-
Open a pull request on GitHub.
- Follow the existing code style and naming conventions.
- Write clear, concise commit messages.
- Ensure your code is well-documented and tested.
If you encounter any issues, please report them using the GitHub Issues page. Provide as much detail as possible, including steps to reproduce the issue.
Thank you for contributing to ChatFlix! Your support is invaluable in making this project better.