Going through the posts in here, I see most of the posts in here is about problems with installations, and I’m not talking about deployment, I’m talking about people how wanna try to create their first app or play around with Frappe/Erpnext, or people who has problem with installation in there test or development machines. So I thought if share our development/testing setup so others can learn something or we even learn new tricks from each other.
I know each developer has his own quirks, and I have to admit my quirk is I don’t want a single development tool on my host machine and thats why I see VM as gift for humanity. so my setup on my Mac os is as follows:
So now everything runs on the VM and all the VM folders shows in my system folders so you can use your favour editor. your host system stays clean and you have no worries about the virtual image you can just back it up before doing something major like update new version and if anything goes wrong you bring up new image in a minute.
now guys lets hear your setup for development/testing environment
I am new to both erp and ErpNext and use Centos 7 VMM (not VirtualBox manager) to run ErpNext VM. Two setup notes that may help:
To convert VirtualBox .ova to run on qemu-kvm
[clarkej@tango ERP]$ tar xvf ERPNext-190416.ova
ERPNext-190416.ovf
ERPNext-190416-disk1.vmdk
$ qemu-img convert -O qcow2 ERPNext-190416-disk1.vmdk ERPNext-190416.qcow2
I am on an Ubuntu 16.04 machine - (could be a desktop or a server)
I use LXD/LXC containers, and they work well for me
I copy my tempate container (called Xenial) to a new instance - it already has webmin and a standard user setup, patches, ssh installed etc
2a) I ssh to the container using the IP address, and do most things from the command line, but I also have webmin on there in case I need it for some admin things
I run the easy setup script as per the Erpnext/frappe documentation - (I wasn’t able to get the development one to work - it gives me a message about too many hosts), so I use the production install, and it works for what I need to do - mostly testing. (I see there are instructions to convert the production to a dev environment, but I havn’t had to do that for what I need
I have abridged instructions in Evernote, which I copy and paste from (I love that tool)
I find LXD/LXC a lot easier than docker, and a lot faster than a VM, but maybe this is a topic for another discussion thread. Anyways, I can share those instructions if anyone wants them
I download and restore the latest version of my database from the Erpnext SAAS site, which is alreasy populated with sample data, that I use for demos, testing etc.
2 benches - 1 for development, 1 for production
Ubuntu VM - reached trough secure VPN + second one on local again with VM
Firefox (with Firebug) for debugging
@Adeel_Rizvi: the easiest jump-start option for ERP Next development on a Windows machine is to use Virtual Box and an image with Development configuration of ERP Next (available to download at https://erpnext.com/download)
hi,
I’ve been having trouble syncing the erpnext code to a local folder.
I’m new to erpnext and it seems that the install script saves everything in the home folder of the user?
are you using vagrant?
I use Debian8 for my first try and see a lot of issues during installation probably due to my very heavy python installation. The most puzzling stuffs are error messages. Sometimes they are just misleading… I install through the standard bench flow while not easy setup.
I use chrome to visit the demo site.
I don’t use other tools for now.
I’m wondering if any could suggest what would be the best way to deploy the server for someone like me who is not well-versed in programming but wanna deploy ERPNEXT for a small manufacturing business?
So far, the easiest way I found is to use VirtualBox running the VM created by ERPNEXT awesome team.
Will I face any scalability issues in the future if I use VM?