Contribute to camptocamp.org source code
Fusionner des documents
Attention, les photos associées ne seront pas supprimées et deviendront orphelines.
Si vous souhaitez juste modifier le titre ou les documents associés (ex : déplacer une sortie vers un autre itinéraire), il suffit de modifier le document.
Si ce document est un doublon comportant des photos, demandez @Modo_Topo_FR de fusionner les doublons pour déplacer les photos sur le document conservé.
Articles
Points de passage
Itinéraires
Livres
Sorties
Rapports incidents/accidents
Utilisateurs
Images
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.
Commentaires
Ce contenu est sous licence Creative Commons BY-SA 3.0
Les images associées à cette page sont disponibles sous la licence spécifiée sur le document d'origine de chaque image.
Imprimé le 18 juillet 2025 14:01