We love your input! We want to make contributing to this project as easy and transparent as possible, whether it's:
- Reporting a bug
- Discussing the current state of the code
- Submitting a fix
- Proposing new features
- Read about our Code Of Conduct.
To develop locally:
-
Fork this repository to your own GitHub account and then clone it to your local device.
git clone https://github.com/evershopcommerce/evershop.git
-
Create a new branch:
git checkout -b MY_BRANCH_NAME
-
Install the dependencies with:
npm install
-
Create a Postgres database:
// EverShop use Postgres for database storage
-
Run installation command to create a database schema:
npm run setup
-
Start development server:
npm run dev
-
Building
You can build with:
npm run build
- Testing the production build
npm run start
- Running tests
Run the Jest unit testing
npm run test
- Issue that pull request!
In short, when you submit code changes, your submissions are understood to be under the same GNU General Public License v3.0 that covers the project. Feel free to contact the maintainers if that's a concern.
Report bugs using Github's issues
We use GitHub issues to track public bugs. Report a bug by opening a new issue; it's that easy!
Great Bug Reports tend to have:
- A quick summary and/or background
- What EverShop version you are using
- What NodeJs version you are using
- What OS system you are using
- What Postgres version you are using
- Steps to reproduce
- Be specific!
- Give sample code if you can
- What you expected would happen
- What actually happens
- Notes (possibly including why you think this might be happening, or stuff you tried that didn't work)
By contributing, you agree that your contributions will be licensed under its GNU General Public License v3.0 License.