Easy install for local usage?

Hi,

I’m trying to understand the documentation for the easy install:

https://askubuntu.com/q/1292384/847449

Do I need to pass parameters to the script? I just want to use it locally.

I’m getting a lengthy error, but the short version is:

nicholas@mordor:~/erp$ 
nicholas@mordor:~/erp$ sudo python3 install.py 
[sudo] password for nicholas: 
Logs are saved under /tmp/logs/easy-install__2020-11-14__20-21.log
curl already installed!
wget already installed!
git already installed!
pip3 already installed!
pip3 already installed!
Checking System Compatibility...
ubuntu 20 is compatible!
[WARNING]: No inventory was parsed, only implicit localhost is available
[WARNING]: provided hosts list is empty, only localhost is available. Note that the implicit localhost does not match 'all'
Traceback (most recent call last):
  File "install.py", line 472, in <module>
    install_bench(args)
  File "install.py", line 234, in install_bench
    run_playbook('create_user.yml', extra_vars=extra_vars)
  File "install.py", line 388, in run_playbook
    success = subprocess.check_call(args, cwd=playbooks_folder, stdout=log_stream, stderr=sys.stderr)
  File "/usr/lib/python3.8/subprocess.py", line 364, in check_call
    raise CalledProcessError(retcode, cmd)
subprocess.CalledProcessError: Command '['ansible-playbook', '-c', 'local', 'create_user.yml', '-vvvv', '-e', '@/tmp/extra_vars.json']' returned non-zero exit status 2.
nicholas@mordor:~/erp$ 

what’s the approach to run this correctly?

same error, this used to be not like this

I would be interested in a simple, or even simplistic, docker
image for local usage. the docker they have is too involved for
me. you need fqdn correctly setup, etc. too much.

Try development docker, frappe_docker/development at main · frappe/frappe_docker · GitHub
It will help to bootstrap local development environment and do bench start.

I’ve yet to figure out how to install docker everywhere easily. Help wanted for making docker easy to run · Issue #353 · frappe/frappe_docker · GitHub.

Only few of us are able to use docker as expected. I use it for development as well as production.

Why docker is beneficial for me? I have many more things running on my servers other than frappe/erpnext. Docker/k8s helps me install all such things on same server instead of dedicating full servers for frappe/erpnext.

Docker/Kubernetes won’t magically scale anything.

2 Likes