We appreciate your interest in contributing to the jdutosho project! To get started, please follow these steps:
-
Fork the repository: Click the "Fork" button on the top right corner of the repository page to create a copy of the repository in your GitHub account.
-
Clone the repository: Clone the forked repository to your local machine.
git clone https://github.com/<your-username>/jdutosho.git
- Create a new branch: Create a new branch for your feature or bug fix.
git checkout -b my-feature-branch
-
Make your changes: Make the desired changes to the codebase.
-
Commit your changes: Ensure your commit messages are clear and descriptive.
git add .
git commit -m "Description of the changes"
- Run the following scripts before pushing your changes: Ensure your code is properly formatted and up-to-date.
npm run fix
git pull --rebase
- Push your changes: Push your changes to your forked repository.
git push origin my-feature-branch
- Create a Pull Request: Go to the original repository on GitHub and create a pull request from your forked repository.
In order to ensure that the jdutosho community is welcoming to all, please review and abide by the Code of Conduct.
# Clone the repository
git clone https://github.com/jdu211171/jdutosho.git
# Change to the project directory
cd jdutosho
# Backend
cd backend
# Install dependencies
php composer.phar install
# Create .env file for local development
cp .env.example .env
# Create database called `jdutosho` in your MySQL database
mysqladmin -u root -p create jdutosho
# Change .env configuration according to your credentials such as:
# DB_USERNAME=root
# DB_PASSWORD=
# Migrate project
php artisan migrate
# Start project
# php artisan serve
cd ../frontend
# Create .env file for local development
cp .env.example .env
# Install dependencies
npm install
# Start project
npm run dev