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:
1- I have Virtual box, I build my image from scratch or i just head to https://erpnext.com/download and download one of the images the awesome frappe team has prepared.
2- I set up networking for the image as bridge and assign it a static ip for the server.
3- I set up and connect the host to the VM image with SSH https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys–2
4- I install Fuse and SSHFS on my Mac, so I Can mount remote file systems over SSH https://www.digitalocean.com/community/tutorials/how-to-use-sshfs-to-mount-remote-file-systems-over-ssh
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 Using Ubuntu 14.04 LTS
- I manually installed all the reqd.( ex.Redis,MariaDB,etc) before installing bench
- Firefox (with Firebug) for debugging
3 .Atom with Python Package installed
- I have 2 custom apps installed for my company.
- Windows PC (Don’t judge ok)
- Ubuntu VM, which I used the script to install everything
- Three separate benches with different code and sites (it gets crazy)
- Networking is set as bridged, and I basically just do everything via SSH and SMB
- Sublime Text 3 that accesses the folders which have code in
- Chrome for debugging
Oh and did I mention I have three nice monitors?
- 2gb ram Digitalocean droplet - 14.04 Ubuntu for production
- 1gb ram Digitalocean droplet - 14.04 Ubuntu for development
- SSH with free https://shiftedit.net account
Usually find me on a Windows 10 machine running Firefox
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
$ qemu-img convert -O qcow2 ERPNext-190416-disk1.vmdk ERPNext-190416.qcow2
inspect .ovf for machine config for eg. mem + cpu
- Bridged Network aka ‘shared physical device’ and not NAT-based virtual network default
see adamw’s notes https://www.happyassassin.net/2014/07/23/bridged-networking-for-libvirt-with-networkmanager-2014-fedora-21/
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.
Using 16.04 LTS:
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
Because I am a nut job,
I use Ubuntu desktop, dual boot with my windows 10 ofcourse, PHPStorm
I am new to development of erpnext, i am using windows what is the best way to start of??
@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)
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?
Hey @Ratanak !
If you can please make a new post, it will increase the chances of getting replies rather than this comment on 2 year old post.
Thanks for your suggestion. I will do that.