Gitpay is an open-source platform that facilitates collaboration and rewards contributions by enabling users to complete issues for open-source projects.
We have a Slack channel where you can collaborate with other people who are using Gitpay and work together to find solutions. Feel free to join the community and hang out on Slack with us.
Gitpay is an open-source platform that empowers collaboration and rewards contributions to open-source projects. With Gitpay, you can complete tasks from anywhere in the world with open collaboration and receive bounties for completing them. Likewise, companies can receive reports, fixes, and enhancements from developers and offer bounties for completing requirements.
This project has been made possible thanks to all the amazing people contributing their time and effort into making Gitpay better. You can also start contributing to the project and join the community by contributing to Gitpay on GitHub or join our team on GitHub first.
Join the Gitpay team on GitHub
To contribute to Gitpay, you will need the following:
To run the tests, use the following commands:
npm run migrate-test
(first time)
npm run test
(to run the tests)
To ensure full integration with the API services used by the platform, you will need the API keys. You should make a copy of your .env.example
file and rename it to .env
with the right credentials. Please let me know if you need any of these credentials to solve an issue (mail tarefas@gitpay.me).
You can do this with: cp .env.example .env
cp .env.example .env
npm install
on the root and front-end foldersbrew install postgres
brew services start postgresql
createuser postgres -s
psql -U postgres
create database gitpay_test;
create database gitpay_dev;
\q
sudo apt install postgresql
sudo service postgresql start
createuser postgres -s
sudo -i -u postgres
psql
ALTER USER postgres WITH PASSWORD 'postgres';
CREATE DATABASE gitpay_test;
CREATE DATABASE gitpay_dev;
\q
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
and download the exe file for windows;postgres
.psql -U postgres
ALTER USER postgres WITH PASSWORD 'postgres';
CREATE DATABASE gitpay_test;
CREATE DATABASE gitpay_dev;
\q
To run the migrations
npm run migrate
To create a new migration
sequelize migration:create --name modelname
How to create new models
organizations
)projects
)organizations_projects
)Project.belongsTo(models.Organization)
Organization.hasMany(models.Project)
For more information related to database seeding please refer: https://en.wikipedia.org/wiki/Database_seeding
To seed the database
npm run seed
For test environment
npm run seed-test
For exhaustive list of options available, refer migration.js
in root directory
npm run seed:windows
and npm run seed-test:windows
frontend
folder: cd frontend
npm run dev
npm run start:dev
Then you can access at http://localhost:8082
When you run your backend node server, the e-mail notifications will output in your console, so when setup a new user, you should look for the activation link:
----- email / subject ----
alexandre+contributor7@gitpay.me
Activate your account
----- end email ----
----- email content ----
[
{
type: 'text/html',
value: '<p>Hi Contrib7,</p><p>Click <a href="https://github.com/worknenjoy/gitpay/blob/master/[ACTIVATION LINK]">here</a> to activate your account.</p>\n' +
' \n' +
'\n' +
'<p>\n' +
'Thanks, <br />\n' +
'Gitpay Team\n' +
'</p>\n' +
'----------------------\n' +
'\n' +
'<p>\n' +
'https://gitpay.me (Web) <br />\n' +
'tarefas@gitpay.me (Email) <br />\n' +
'Worknenjoy Inc.,\n' +
'9450 SW Gemini Dr\n' +
'PMB 72684\n' +
'Beaverton, Oregon 97008-7105 US (Mail) <br />\n' +
'</p>\n'
}
]
----- end email content ----
You will find the activation link on the e-mail example, copy and paste in your browser to activate your user locally.
Please don't change the translation files directly, they will be managed on Crowdin. The only thing you need to do is run
npm run translate
on front-end and use the React Intl (https://formatjs.io/docs/react-intl/) library to give id and default text to your strings.
Docker Engine
Docker Compose
sudo pacman -S docker docker-compose
docker-compose up
Then you can access at http://localhost:8082
docker-compose -f docker-compose.test.yml up
Here you can start to learn how to create your first pull request and start to be a contributor: https://github.com/worknenjoy/gitpay/issues/247
Become a financial contributor and help us sustain our community. [Contribute]
Support this project with your organization. Your logo will show up here with a link to your website. [Contribute]
This project is licensed under the Attribution-NonCommercial-NoDerivatives 4.0 International license. Please review the license terms and conditions for details.