How to enter development environment

Hi,

I just set a production of erpnext up with easy script --setup production.

I want to test to modify some HTML. How to enter develpment environment of frappe framework?

Tks

Don’t edit on production system else bench update won’t work. Setup a local environment.

Hi,
As advised on github, I ran setup_frappe.sh. As am looking to run a development enviorment

When I load up the browser , I am just welcomed by the ngix welcome screen. I checked apps folder and sites folder. erpnext and the site have been installed as expected.

I tried running bench start but it gives an error.

frappe@li548-37:~/frappe-bench$ bench start
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  File "/home/frappe/bench-repo/bench/cli.py", line 55, in cli
    bench()
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 664, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 644, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 988, in invoke
    Command.invoke(self, ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 837, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 464, in invoke
    return callback(*args, **kwargs)
  File "/home/frappe/bench-repo/bench/cli.py", line 144, in bench
    setup_logging(bench=bench)
  File "/home/frappe/bench-repo/bench/utils.py", line 189, in setup_logging
    hdlr = logging.FileHandler(log_file)
  File "/usr/lib/python2.7/logging/__init__.py", line 911, in __init__
    StreamHandler.__init__(self, self._open())
  File "/usr/lib/python2.7/logging/__init__.py", line 936, in _open
    stream = open(self.baseFilename, self.mode)
IOError: [Errno 13] Permission denied: '/home/frappe/frappe-bench/logs/bench.log'

K I noticed the setup script if not production points to the develop branch. I shall edit the script and try

Ok that worked thanks guys