ERPNext on Amazon EC2 with Development

So I am installing ERPNext on Amazon EC2 Ubuntu 12.04 instance. The first time I tried I installed using easy way as per GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps , but I left the production portion in. This worked great no issues really.

I now want to extend this and install a development environment on a new EC2 instance with a new Bench ect. So again I follow the easy way on github but leave the production portion off so development of a frappe App can be done. Again no issues given during installation but now when I try access ERPNext it gives me the Nginx welcome page. So I did the setup for Nginx as per GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps . I then restarted Nginx and it still gives me this welcome page. My questions then:

  1. How do I check my bench is running correctly?
  2. How do I configure Nginx correctly?

Thanks

If you want to run it in production mode (ie nginx serving on port 80), run

sudo bench setup production {frappe_bench_user}

substitute correct value for frappe_bench_user

Thanks, I have been able to get it working using the setup production
command, but I was trying to understand how you can set it up manually
through the supervisor and nginx setup. (You know fully understand the
connectivity and setup not a ‘one click’ install kind of idea). Thanks for
the response.

Regards

Wesley Walford
Email : wwalford@gmail.com
Website: wwalford.co.za http://wwalford.co.za

it generates supervisor config and nginx config from a template, links the config to the conf.d dirs and reloads nginx and supervisor. You can see the nginx and supervisor configs in config dir

Thanks, I can see the config.