git clone https://github.com/gh-tyl/wepost-api.git
cd wepost-api
cp ./config/config.example.php ./config/config.php
git checkout develop
git checkout -b feature/your_feature_branch
Run your server and access it.
- Use Bootstrap 5.
- GitHub Flow
- We use GitHub Flow. (https://guides.github.com/introduction/flow/)
- main: stable version
- You can't push to this branch directly. You should create a pull request to merge develop branch to this branch.
- develop: development version
- You can't push to this branch directly. You should create a pull request to merge your feature branch to this branch.
- feature/your_feature_branch: your feature branch
- You can push to this branch directly.
- Each feature branch should have only one feature. (Maybe it's difficult to do this. But if you can do this, it's better.)
- Each feature branch should be created from develop branch.
- Each feature branch should be merged to develop branch.
- Each feature branch should be deleted after merged to develop branch.
- Each feature branch should be named as feature/your_feature_branch.
- Before you create a pull request, you should pull the latest version of develop branch.
- If you get a conflict, you should resolve it.
- You should create a pull request to merge your feature branch to develop branch.
- When you create a pull request, you should add reviewers.