Code Monkey home page Code Monkey logo

MGL7130

Configuration de l'environnement de travail avec Ionic, Git et Github

Installer une ligne de commande Git sous Windows : https://git-for-windows.github.io/

Placez-vous dans un repertoire de travail puis entrez les commandes suivantes :

$ ionic start Simplyk blank

A la question de la création d'un compte ionic.io répondez non. Vous pouvez le faire plus tard si vous voulez.

$ cd Simplyk

$ git init .

$ git remote add -t \* -f origin https://github.com/Warlot-PQ/MGL7130.git

$ git checkout master

L'environnement ionic est prêt et le lien avec GitHub est établi.

Configuration du live reload

Placez-vous dans le repertoire Simplyk.

Ajouter un watcher au fichier ionic.project pour que le live reload soit actif sur d'autres fichiers que sur index.html et une tache GULP pour activer le live reload.

Exemple ionic.project :

{
  "name": "Simplyk",
  "app_id": "",
  "watchPatterns": [
    "www/js/*",
    "!www/css/**/*"
  ],
  "gulpStartupTasks": [
    "sass",
    "watch"
  ]
}

Lancer le serveur simulant les appareils android et IOS :

$ ionic serve --lab

Déploiement sur téléphone par l'application Ionic View

Identifiez-vous avec votre login et mot de passe Ionic.

$ ionic login

Envoyez le code du projet sur internet.

$ ionic upload

Utilisez l'application mobile Ionic View pour visualier l'application Ionic.

Déploiement sur téléphone par PhoneGap

Identifiez-vous sur https://build.phonegap.com/ avec votre Adobe ID.

Faites un zip du projet au complet et envoyez le sur le site phonegap. Lancez la compilation, scanner le QR code et c'est prêt.

Référence : http://pointdeveloper.com/how-to-build-ionic-app-with-phonegap-build/

Splashscreen sur iPhone 5

Ajoutez la balise suivante au fichier config.xml sur répertoire www. [email protected] contient le splashscreen.

<gap:splash src="[email protected]" gap:platform="ios" width="640" height="1136" />

Boniface Kamko 's Projects

glpi icon glpi

GLPi stands for Gestionnaire Libre de Parc Informatique is a Free Asset and IT Management Software package, that provides ITIL Service Desk features, licenses tracking and software auditing.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.