Aller au contenu principal

Comment configurer l'environnement de développement

Pour configurer l'environnement de développement, vous devez installer l'utilitaire repo et utiliser le manifeste repo suivant ou toute autre configuration.

Si vous prévoyez d'utiliser le fichier readonly.xml et l'utilitaire repo, vous pouvez exécuter ce qui suit :

repo init -u https://github.com/osmandapp/OsmAnd-manifest -m readonly.xml
repo sync

Vous pouvez également utiliser simplement git et extraire les dépôts git suivants dans les noms de dossiers corrects :

  • Dossier android - Osmand
    • git clone https://github.com/osmandapp/Osmand.git android
  • Dossier ios - OsmAnd-ios
    • git clone https://github.com/osmandapp/OsmAnd-ios.git ios
  • Dossier resources - OsmAnd-resources
    • git clone https://github.com/osmandapp/OsmAnd-resources.git resources
  • Dossier core - OsmAnd-core
    • git clone https://github.com/osmandapp/OsmAnd-core.git core
  • Dossier help - osmandapp.github.io
    • git clone https://github.com/osmandapp/osmandapp.github.io.git help
  • Dossier core-legacy - OsmAnd-core-legacy
    • git clone https://github.com/osmandapp/OsmAnd-core-legacy.git core-legacy
  • Dossier build - OsmAnd-build
    • git clone https://github.com/osmandapp/OsmAnd-build.git build
  • Dossier tools - OsmAnd-tools (serveurs, création de cartes)
    • git clone https://github.com/osmandapp/OsmAnd-tools.git tools
  • Dossier web - web (web uniquement)
    • git clone https://github.com/osmandapp/web.git web
  • Dossier misc - OsmAnd-misc (utilitaires autonomes)
    • git clone https://github.com/osmandapp/OsmAnd-misc.git misc

Vous n'aurez peut-être pas besoin de tous les dépôts pour faire fonctionner les outils / Android ou iOS. Vous pouvez toujours vérifier les branches correspondantes dans repo-configurations.