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
- A computer (Windows, Mac, Linux...)
- Git (Windows, Mac, Linux), a github account and basic knowledge of git
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
- Sources are in folder
/c2c_ui/src
, - 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
Useful links
- Ask for help (we speak english, french, italian, spanish and german),
- Go further with dev tools,
- And finally, please find the (not so) full documentation on github.
Articles
 Qualité du document : excellent