comparison xml/en/docs/howto_setup_development_environment_on_ec2.xml @ 394:245167685006

Fixed grammar, punctuation, and markup.
author Ruslan Ermilov <ru@nginx.com>
date Mon, 06 Feb 2012 09:26:58 +0000
parents 62468b793748
children 6135f3c95bf6
comparison
equal deleted inserted replaced
393:b83d332fbdaa 394:245167685006
16 and efficiently. Please check the action list below in order to 16 and efficiently. Please check the action list below in order to
17 prepare your virtual machine and nginx configuration. 17 prepare your virtual machine and nginx configuration.
18 </para> 18 </para>
19 19
20 <para> 20 <para>
21 To setup a development environment: 21 To set up a development environment:
22 <list> 22 <list>
23 <item> 23 <item>
24 Follow the 24 Follow the
25 <link url="http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/Welcome.html"> 25 <link url="http://docs.amazonwebservices.com/AWSEC2/latest/GettingStartedGuide/Welcome.html">
26 Get Started with EC2</link> guide to sign up to AWS and 26 Get Started with EC2</link> guide to sign up to AWS and
27 launch your EC2 instance. Only Amazon Linux is supported, so please 27 launch your EC2 instance. Only Amazon Linux is supported, so please
28 choose either "Basic 32-bit Amazon Linux AMI" or 28 choose either “Basic 32-bit Amazon Linux AMI” or
29 "Basic 64-bit Amazon Linux AMI" for an AMI. When configuring 29 “Basic 64-bit Amazon Linux AMI” for an AMI. When configuring
30 the firewall rules it is necessary to add a rule to accept web 30 the firewall rules, it is necessary to add a rule to accept web
31 traffic on port 80. 31 traffic on port 80.
32 </item> 32 </item>
33 33
34 <item> 34 <item>
35 As soon as the new instance is launched, log in to it and 35 As soon as the new instance is launched, log in to it and
46 46
47 <item> 47 <item>
48 You will be asked to select what components to install. Currently 48 You will be asked to select what components to install. Currently
49 it is possible to choose Django, Pyramid, Ruby on Rails or PHP 49 it is possible to choose Django, Pyramid, Ruby on Rails or PHP
50 development environment. After you have selected the necessary 50 development environment. After you have selected the necessary
51 component the script will automatically prepare its configuration 51 component, the script will automatically prepare its configuration
52 for use with nginx. There will be a separate user created too, 52 for use with nginx. There will be a separate user created too,
53 and then a sample web application is started to ensure everything 53 and then a sample web application is started to ensure everything
54 is working correctly. 54 is working correctly.
55 </item> 55 </item>
56 56
57 <item> 57 <item>
58 After the installation completes and the web application is installed 58 After the installation completes and the web application is installed
59 in a subdirectory inside /var/www, the script will print how to 59 in a subdirectory inside <path>/var/www</path>, the script will print how to
60 start/stop sample application. For example, the Rails application will 60 start/stop sample application. For example, the Rails application will
61 reside in /var/www/rails, and Rails specific part of nginx configuration 61 reside in <path>/var/www/rails</path>, and Rails specific part of nginx
62 will be in /etc/nginx/conf.d/rails.conf. 62 configuration will be in <path>/etc/nginx/conf.d/rails.conf</path>.
63 Installed application and configs can be used as a basis for 63 Installed application and configuration files can be used as a basis for
64 futher development. 64 further development.
65 </item> 65 </item>
66 </list> 66 </list>
67 </para> 67 </para>
68 68
69 </section> 69 </section>