Contribute to camptocamp.org source code

Activités :
Catégories : info site
Type d'article : collaboratif (CC by-sa)

This article provides a quick and easy method to get a development environment in order to modify camptocamp.org source code. It contains useful links to get started with basic tooling and concept which you'll need to do your first steps.

And if you face any difficulty, please ask some help! (all languages spoken).

Prerequisites 15min

Install camptocamp.org source code 2min

Download sources from github :

git clone https://github.com/c2c_org/c2c_ui.git
cd c2c_ui
npm ci
npm run serve

That's it! Have a look on http://localhost:8080 🚀

Make some modifications

  1. Sources are in folder /c2c_ui/src,
  2. Any modification is instantly applied on your browser.

Publish your modifications 5min

In folder /c2c_ui :

# If it has not be done, create a fork
git remote add myfork git@github.com:{my_github_username}/c2c_ui.git

# Create a local branch
git checkout -b my_awesome_branch_for_a_great_feature

# Commit & push
git commit -m "I've just added a great feature to c2c UI"
git push myfork my_awesome_branch_for_a_great_feature

And finally, create a pull request in github ❤️