SlideShare ist ein Scribd-Unternehmen logo
1 von 5
Downloaden Sie, um offline zu lesen
INSAT ANDROID
CLUB
Atelier WebMobile
Tutoriel N°1
Mise en place
de l’environnement du travail
Préparé par : Med Tahar Zwawa
Le 11 Octobre 2011
Sommaire
I- Installation des outils……1
II- Configuration.…….……3
INSAT ANDROID
CLUB
Atelier WebMobile
Tutoriel N°1
Mise en place
de l’environnement du travail
Préparé par : Med Tahar Zwawa
Le 11 Octobre 2011
Sommaire
I- Installation des outils……1
II- Configuration.…….……3
INSAT ANDROID
CLUB
Atelier WebMobile
Tutoriel N°1
Mise en place
de l’environnement du travail
Préparé par : Med Tahar Zwawa
Le 11 Octobre 2011
Sommaire
I- Installation des outils……1
II- Configuration.…….……3
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
1
I.Installation des outils :
Ci-dessous vous trouverez les outils nécessaires pour notre travail. Concernant le système
d’exploitation, nous utiliserons Windows.
a.Navigateur :
Dans le cadre de notre atelier, nous avons besoin d’un navigateur basé
sur WebKit pour tester nos applications web mobile sur le pc, donc nous
avons le choix d’installer soit Chrome ou Safari.
b.Serveur web :
Comme serveur web, nous choisissons XAMPP.
Une fois téléchargé, exécutez le programme d’installation en utilisant les valeurs par défaut.
Après l’installation, vous pouvez :
- Créer vos projets sous le répertoire C:xampphtdocs
- ouvrir le panneau de contrôle XAMPP pour démarrer Apache.
Mise en place de l’environnement du travail
Salut, bienvenue parmi nous dans IAC, c’est le premier tutoriel de l’atelier WebMobile où
nous allons détailler les étapes à suivre pour mettre en place l’environnement du travail.
Télécharger Chrome
Télécharger Safari
Télécharger XAMPP
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
2
Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous
avez mis sous C:xampphtdocs).
c. IDE :
Pour faciliter la tâche du développement, on conseille d’utiliser un IDE
comme NetBeans ou Eclipse.
http://localhost/nom_projet/
Télécharger NetBeans PHP
Télécharger Eclipse PDT
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
2
Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous
avez mis sous C:xampphtdocs).
c. IDE :
Pour faciliter la tâche du développement, on conseille d’utiliser un IDE
comme NetBeans ou Eclipse.
http://localhost/nom_projet/
Télécharger NetBeans PHP
Télécharger Eclipse PDT
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
2
Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous
avez mis sous C:xampphtdocs).
c. IDE :
Pour faciliter la tâche du développement, on conseille d’utiliser un IDE
comme NetBeans ou Eclipse.
http://localhost/nom_projet/
Télécharger NetBeans PHP
Télécharger Eclipse PDT
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
3
II. Configuration :
Réellement, on n’a pas beaucoup de configuration à faire sauf dans le cas où nous voulons tester
une application web sur un vrai Smartphone. Pour cela, vous êtes invités à suivre ces étapes :
1- Rejoindre le même réseau wifi que votre pc avec le Smartphone,
2- Désactiver le pare-feu (en cas d’activation) pour ne pas bloquer l’accès à votre serveur web,
3- Lancer la commande ipconfig sur votre pc pour obtenir l’IP, exemple : 192.168.1.2
4- Accéder au serveur depuis le Smartphone à travers cette adresse :
Vous pouvez voir une erreur de sécurité comme ceci :
5- Ouvrir le fichier httpd-xampp.conf située dans C:xamppapacheconfextra, au bas de ce
fichier, vous trouvez :
http://192.168.1.2/nom_projet/
<LocationMatch
"^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-
status|server-info))">
Order deny,allow
Deny from all
Allow from 127.0.0.0/8
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1
4
6- éditer le code précédent
7- Redémarrer Apache à l’aide du panneau du contrôle XAMPP et en rafraîchissant la page
sur le navigateur du Smartphone, vous retrouverez votre projet 
NB :
Pour tester votre projet nom_projet sur un émulateur Android, il suffit de remplacer localhost
(dans un pc) ou l’ip du pc (dans un Smartphone) par l’adresse 10.0.2.2 et naviguer vers ce lien :
Espérons que vous avez apprécié ce travail. Dans le prochain tutoriel, nous allons entamer le
développement web mobile avec un peux plus de détails et d’astuces.
<LocationMatch
"^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server-
status|server-info))">
Order deny,allow
Deny from all
Allow from all
ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var
</LocationMatch>
http://10.0.2.2/nom_projet

Weitere ähnliche Inhalte

Empfohlen

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Applitools
 

Empfohlen (20)

Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 

Mise en place de l'environnement du travail

  • 1. INSAT ANDROID CLUB Atelier WebMobile Tutoriel N°1 Mise en place de l’environnement du travail Préparé par : Med Tahar Zwawa Le 11 Octobre 2011 Sommaire I- Installation des outils……1 II- Configuration.…….……3 INSAT ANDROID CLUB Atelier WebMobile Tutoriel N°1 Mise en place de l’environnement du travail Préparé par : Med Tahar Zwawa Le 11 Octobre 2011 Sommaire I- Installation des outils……1 II- Configuration.…….……3 INSAT ANDROID CLUB Atelier WebMobile Tutoriel N°1 Mise en place de l’environnement du travail Préparé par : Med Tahar Zwawa Le 11 Octobre 2011 Sommaire I- Installation des outils……1 II- Configuration.…….……3
  • 2. INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 1 I.Installation des outils : Ci-dessous vous trouverez les outils nécessaires pour notre travail. Concernant le système d’exploitation, nous utiliserons Windows. a.Navigateur : Dans le cadre de notre atelier, nous avons besoin d’un navigateur basé sur WebKit pour tester nos applications web mobile sur le pc, donc nous avons le choix d’installer soit Chrome ou Safari. b.Serveur web : Comme serveur web, nous choisissons XAMPP. Une fois téléchargé, exécutez le programme d’installation en utilisant les valeurs par défaut. Après l’installation, vous pouvez : - Créer vos projets sous le répertoire C:xampphtdocs - ouvrir le panneau de contrôle XAMPP pour démarrer Apache. Mise en place de l’environnement du travail Salut, bienvenue parmi nous dans IAC, c’est le premier tutoriel de l’atelier WebMobile où nous allons détailler les étapes à suivre pour mettre en place l’environnement du travail. Télécharger Chrome Télécharger Safari Télécharger XAMPP
  • 3. INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 2 Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous avez mis sous C:xampphtdocs). c. IDE : Pour faciliter la tâche du développement, on conseille d’utiliser un IDE comme NetBeans ou Eclipse. http://localhost/nom_projet/ Télécharger NetBeans PHP Télécharger Eclipse PDT INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 2 Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous avez mis sous C:xampphtdocs). c. IDE : Pour faciliter la tâche du développement, on conseille d’utiliser un IDE comme NetBeans ou Eclipse. http://localhost/nom_projet/ Télécharger NetBeans PHP Télécharger Eclipse PDT INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 2 Maintenant, dans chrome ou safari, vous pouvez naviguer vers votre projet nom_projet (que vous avez mis sous C:xampphtdocs). c. IDE : Pour faciliter la tâche du développement, on conseille d’utiliser un IDE comme NetBeans ou Eclipse. http://localhost/nom_projet/ Télécharger NetBeans PHP Télécharger Eclipse PDT
  • 4. INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 3 II. Configuration : Réellement, on n’a pas beaucoup de configuration à faire sauf dans le cas où nous voulons tester une application web sur un vrai Smartphone. Pour cela, vous êtes invités à suivre ces étapes : 1- Rejoindre le même réseau wifi que votre pc avec le Smartphone, 2- Désactiver le pare-feu (en cas d’activation) pour ne pas bloquer l’accès à votre serveur web, 3- Lancer la commande ipconfig sur votre pc pour obtenir l’IP, exemple : 192.168.1.2 4- Accéder au serveur depuis le Smartphone à travers cette adresse : Vous pouvez voir une erreur de sécurité comme ceci : 5- Ouvrir le fichier httpd-xampp.conf située dans C:xamppapacheconfextra, au bas de ce fichier, vous trouvez : http://192.168.1.2/nom_projet/ <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server- status|server-info))"> Order deny,allow Deny from all Allow from 127.0.0.0/8 ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch>
  • 5. INSAT ANDROID CLUB >> ATELIER WEBMOBILE >> TUTO N°1 4 6- éditer le code précédent 7- Redémarrer Apache à l’aide du panneau du contrôle XAMPP et en rafraîchissant la page sur le navigateur du Smartphone, vous retrouverez votre projet  NB : Pour tester votre projet nom_projet sur un émulateur Android, il suffit de remplacer localhost (dans un pc) ou l’ip du pc (dans un Smartphone) par l’adresse 10.0.2.2 et naviguer vers ce lien : Espérons que vous avez apprécié ce travail. Dans le prochain tutoriel, nous allons entamer le développement web mobile avec un peux plus de détails et d’astuces. <LocationMatch "^/(?i:(?:xampp|security|licenses|phpmyadmin|webalizer|server- status|server-info))"> Order deny,allow Deny from all Allow from all ErrorDocument 403 /error/HTTP_XAMPP_FORBIDDEN.html.var </LocationMatch> http://10.0.2.2/nom_projet