Getting Started Guide

Dear Community,

I am tempted to jump onto the train using Erpnext, and I'm willing to contribute to the project. I'm originally a fronten developer, but I'd like to get started with the Python stack now. Can anyone give me a hint or share some resources how to get started, installing a local version of Nexterp on my Mac? I didn't find a complete guide, yet. I'm aware that I will have to deal with Frappe (https://frappe.io/developers/guide), Frappee Bench (https://github.com/frappe/bench) and Erpnext (https://github.com/frappe/erpnext) in some ways but I'm unsure how to put everything together in order to have a working development environment. I am grateful for any hint.

Bst, PS

–

Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2b0c8a7e-30d2-4629-9d97-5ae1a28ecddf%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Peter

On 22-Sep-2014, at 6:16 am, Peter Schmidler <pe...@gmail.com> wrote:

Dear Community,

I am tempted to jump onto the train using Erpnext, and I'm willing to contribute to the project.

Awesome :) welcome to the forum.

I'm originally a fronten developer, but I'd like to get started with the Python stack now. Can anyone give me a hint or share some resources how to get started, installing a local version of Nexterp on my Mac?

I use a Mac for my development too. Make sure you have homebrew installed and then install the pre-requisites. And then install the bench

https://github.com/frappe/bench/#manual-install

I didn't find a complete guide, yet. I'm aware that I will have to deal with Frappe (https://frappe.io/developers/guide), Frappee Bench (https://github.com/frappe/bench) and Erpnext (https://github.com/frappe/erpnext) in some ways but I'm unsure how to put everything together in order to have a working development environment. I am grateful for any hint.

Just do through the guide and build the sample app - it will help you clear out a lot of concepts.

Make a fork of frappe/frappe and frappe/erpnext and start pushing :)

Feel free to ask questions here or on IRC #frappe


Bst, PS

–

Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2b0c8a7e-30d2-4629-9d97-5ae1a28ecddf%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1D4F20D9-B28F-4C5A-AC5D-91EBFDAF231D%40gmail.com.

    For more options, visit https://groups.google.com/d/optout.

Dear ERPnext team, I am still struggling to setup on my local machine to start developing. https://github.com/frappe/bench#setting-up-erpnext When I enter "bench new-sitesite1.local" I get the following output: http://pastebin.com/FN99wC8c The SQL database site1.localwas successfully created. Can you point me towards a solution? Still seems like there's something wrong with my SQL password. But in SequelPro I am able to login with that password. ALso in SequelPro I see the site1.local database with an __Auth table inside.  In mySQL users table I see a user for localhost called site1.local without any rights e.g. Select_priv N ... What can it be?


Bst, Max


Am Montag, 22. September 2014 08:38:32 UTC+2 schrieb rushabh:
Peter

On 22-Sep-2014, at 6:16 am, Peter Schmidler <pe...@gmail.com> wrote:

Dear Community,

I am tempted to jump onto the train using Erpnext, and I'm willing to contribute to the project.

Awesome :) welcome to the forum.

I'm originally a fronten developer, but I'd like to get started with the Python stack now. Can anyone give me a hint or share some resources how to get started, installing a local version of Nexterp on my Mac?

I use a Mac for my development too. Make sure you have homebrew installed and then install the pre-requisites. And then install the bench


I didn't find a complete guide, yet. I'm aware that I will have to deal with Frappe (https://frappe.io/developers/guide), Frappee Bench (https://github.com/frappe/bench) and Erpnext (https://github.com/frappe/erpnext) in some ways but I'm unsure how to put everything together in order to have a working development environment. I am grateful for any hint.

Just do through the guide and build the sample app - it will help you clear out a lot of concepts.

Make a fork of frappe/frappe and frappe/erpnext and start pushing :)

Feel free to ask questions here or on IRC #frappe


Bst, PS

–

Note:

 

If you are posting an issue,

 

  1. ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
  2. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
  3. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
  4. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.

     

    End of Note

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/2b0c8a7e-30d2-4629-9d97-5ae1a28ecddf%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/730c132b-dff1-4070-b314-c8ebb262ebc9%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
P.S. I tried to install everything again from scratch and now I get a different error message. http://pastebin.com/dVM7JbWg I hope it helps you to help me ;)

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/05d6804f-1831-48e0-9651-4f767f3e3623%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Just for help you.

You have problems of permissions on mysql. Look for permissions  on 

try this: mysql -u root -p to verify if you can login.

If not solve the problem edit /etc/mysql/my.cnf and change bind-address to bind-address  = 0.0.0.0

I have mac too, so i suggest you to install vagrant it will make things smooth.

Here it how to do it:
Make sure to install virtualbox 

It is simple:

mkdir ~/erpnext4
cd erpnext4
mkdir erpnext <-- this folder is here you will put frappe and access all the files from mac.

Then:

vagrant init  https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box

put this in the Vagrantfile that was created with the command init:

config.vm.define "erpnext" do |erpnext|
    erpnext.vm.box = "https://cloud-images.ubuntu.com/vagrant/trusty/current/trusty-server-cloudimg-amd64-vagrant-disk1.box" # this file copy it to here
    erpnext.vm.network "forwarded_port", guest: 8000, host: 8000
    erpnext.vm.network "forwarded_port", guest: 3306, host: 3306
    erpnext.vm.network "forwarded_port", guest: 6379, host: 6379
    erpnext.vm.network "private_network", ip: "33.33.33.10"
    erpnext.vm.synced_folder "erpnext/", "/vagrant"
  end

vagrant up

vagrant ssh

install bench...

Segunda-feira, 22 de Setembro de 2014 21:09:11 UTC+1, Peter Schmidler escreveu:
P.S. I tried to install everything again from scratch and now I get a different error message. http://pastebin.com/dVM7JbWg I hope it helps you to help me ;)

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/11bd19b4-3463-4f0c-a5af-90defced78f3%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
1 Like
don't put vagrant up and vagrant ssh inside Vagrantfile!

Segunda-feira, 22 de Setembro de 2014 21:46:26 UTC+1, Luis Fernandes escreveu:
Just for help you.

You have problems of permissions on mysql. Look for permissions  on 

try this: mysql -u root -p to verify if you can login.

If not solve the problem edit /etc/mysql/my.cnf and change bind-address to bind-address  = 0.0.0.0

I have mac too, so i suggest you to install vagrant it will make things smooth.

Here it how to do it:
Make sure to install virtualbox 

It is simple:

mkdir ~/erpnext4
cd erpnext4
mkdir erpnext <-- this folder is here you will put frappe and access all the files from mac.

Then:


put this in the Vagrantfile that was created with the command init:

config.vm.define "erpnext" do |erpnext|
    erpnext.vm.network "forwarded_port", guest: 8000, host: 8000
    erpnext.vm.network "forwarded_port", guest: 3306, host: 3306
    erpnext.vm.network "forwarded_port", guest: 6379, host: 6379
    erpnext.vm.network "private_network", ip: "33.33.33.10"
    erpnext.vm.synced_folder "erpnext/", "/vagrant"
  end

vagrant up

vagrant ssh

install bench...

Segunda-feira, 22 de Setembro de 2014 21:09:11 UTC+1, Peter Schmidler escreveu:
P.S. I tried to install everything again from scratch and now I get a different error message. http://pastebin.com/dVM7JbWg I hope it helps you to help me ;)

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/0842f135-69a5-41c3-98d9-2a1e8794d6d2%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/22a74828-03f7-4b80-ae48-b9f406fb4cf3%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/a3b844bc-9e14-4910-956f-d50e3e986d76%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/ca874b85-6cf3-4a26-8fca-9f918144cb01%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
I don't know what do you mean by the same.

But it is private, virtual and server!

With vagrant you install a virtual ambient. The diference is that you can access the virtual machine from your mac. You don't need to install graphical ambient because your mac is the graphical ambient. 

You issue commands from mac terminal and can work with your favorite mac IDE, the same that you use every day.

After configured you can repeat the same process in every machine you want work without more configuration.



Sábado, 27 de Setembro de 2014 17:55:22 UTC+1, Peter Schmidler escreveu:
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1ad6d850-d5fe-455c-9803-f77d1ec825b7%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
Hi Luis,

Are you planning to make a vagrant file?

-Anand. 

Sent from my phone

On 27-Sep-2014, at 22:58, Luis Fernandes <lu...@gmail.com> wrote:

I don't know what do you mean by the same.

But it is private, virtual and server!

With vagrant you install a virtual ambient. The diference is that you can access the virtual machine from your mac. You don't need to install graphical ambient because your mac is the graphical ambient. 

You issue commands from mac terminal and can work with your favorite mac IDE, the same that you use every day.

After configured you can repeat the same process in every machine you want work without more configuration.



Sábado, 27 de Setembro de 2014 17:55:22 UTC+1, Peter Schmidler escreveu:
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1ad6d850-d5fe-455c-9803-f77d1ec825b7%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/18A0CA07-22A1-42B5-9C7E-95E09959CC66%40iwebnotes.com.

    For more options, visit https://groups.google.com/d/optout.

Lui

On 28 Sep 2014 08:35, "Anand Doshi" <an...@iwebnotes.com> wrote:
Hi Luis,

Are you planning to make a vagrant file?

-Anand.

Sent from my phone

On 27-Sep-2014, at 22:58, Luis Fernandes <lu...@gmail.com> wrote:

I don't know what do you mean by the same.

But it is private, virtual and server!

With vagrant you install a virtual ambient. The diference is that you can access the virtual machine from your mac. You don't need to install graphical ambient because your mac is the graphical ambient.

You issue commands from mac terminal and can work with your favorite mac IDE, the same that you use every day.

After configured you can repeat the same process in every machine you want work without more configuration.



Sábado, 27 de Setembro de 2014 17:55:22 UTC+1, Peter Schmidler escreveu:
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1ad6d850-d5fe-455c-9803-f77d1ec825b7%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/18A0CA07-22A1-42B5-9C7E-95E09959CC66%40iwebnotes.com.

    For more options, visit https://groups.google.com/d/optout.

Lui

On 28 Sep 2014 08:35, "Anand Doshi" <an...@iwebnotes.com> wrote:
Hi Luis,

Are you planning to make a vagrant file?

-Anand.

Sent from my phone

On 27-Sep-2014, at 22:58, Luis Fernandes <lu...@gmail.com> wrote:

I don't know what do you mean by the same.

But it is private, virtual and server!

With vagrant you install a virtual ambient. The diference is that you can access the virtual machine from your mac. You don't need to install graphical ambient because your mac is the graphical ambient.

You issue commands from mac terminal and can work with your favorite mac IDE, the same that you use every day.

After configured you can repeat the same process in every machine you want work without more configuration.



Sábado, 27 de Setembro de 2014 17:55:22 UTC+1, Peter Schmidler escreveu:
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1ad6d850-d5fe-455c-9803-f77d1ec825b7%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/18A0CA07-22A1-42B5-9C7E-95E09959CC66%40iwebnotes.com.

    For more options, visit https://groups.google.com/d/optout.
Hi, Anand.

I have a fresh box already. It has all dependencies installed and i git cloned erpnext and shopping cart. These apps are ready to install but already in vagrant file. Just need to issue bench frappe --install_app erpnext site1.local and bench frappe --install_app shopping_cart site1.local. site1.local is installed by default. Mysql root password is erpnext.
  

Here is the link: https://meocloud.pt/link/a6fdac48-bdf2-4fb7-b87b-4a300188a6b8/vagrant-frappe/

If you or any one of the community wants to try it is very simple, justo a few steps:

1. first you have to install virtualbox if it isn't already!
2. then install vagrant https://www.vagrantup.com
3. then download the file (link above) and unzip it to any directory, and inside that directory make another empty directory with the name erpnext (it has to have this name. But you can change it in Vagrantfile).

4. then issue the following command, after download: vagrant box add frappe-erpnext-vagrant-box frappe-erpnext.box. 
frappe-erpnext-vagrant-box is the title at your choice but if you change it you have to change it in Vagrantfile too. The second name is the name of my box, frappe-erpnext.box.
5. After that command you have to issue vagrant up and then wait, after that frappe is ready to start.
6. Do, vagrant ssh to enter in vagrant virtual machine (ubuntu 14.04 in this case...).
7. after vagrant ssh you are in virtual machine, do cd /vagrant/frappe-bench directory and bench start to go. This directory is the shared directory with the host machine (mac or windows).
8. some important commands: vagrant reload; vagrant halt; and you can change the memory used by guest machine in Vagrantfile.

Resume: if you already have installed virtualbox and vagrant you just have to download my box and make the erpnext directory, issue vagrant box add frappe-erpnext-vagrant-box frappe-erpnext.box, vagrant up and vagrant ssh.

In the erpnext directory my box will make the frappe-bench directory with frappe and bench already configured. This is the directory that you use in the host machine and share with the guest machine. This way you don't have to open virtualbox gui of the guest machine that is heavy, and you develop always with native app of host machine. The ports are forwarded in Vagrantfile and we access the frappe desk with host browser, http://localhost:8000 or if you prefer in this case http://33.33.33.10:8000 the same to mysql, just see Vagrantfile.

Domingo, 28 de Setembro de 2014 4:05:01 UTC+1, Anand Doshi escreveu:

Hi Luis,

Are you planning to make a vagrant file?

-Anand. 

Sent from my phone

On 27-Sep-2014, at 22:58, Luis Fernandes <lu...@gmail.com> wrote:

I don't know what do you mean by the same.

But it is private, virtual and server!

With vagrant you install a virtual ambient. The diference is that you can access the virtual machine from your mac. You don't need to install graphical ambient because your mac is the graphical ambient. 

You issue commands from mac terminal and can work with your favorite mac IDE, the same that you use every day.

After configured you can repeat the same process in every machine you want work without more configuration.



Sábado, 27 de Setembro de 2014 17:55:22 UTC+1, Peter Schmidler escreveu:
Is it the sam to install it on a VPS?

Am Dienstag, 23. September 2014 15:33:30 UTC+2 schrieb Luis Fernandes:
You will still be working in mac. But you don't mess with it!

Terça-feira, 23 de Setembro de 2014 12:55:48 UTC+1, Peter Schmidler escreveu:
Nice. I'll try that out. Thanks!

–

  1. Please be kind and don’t send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/1ad6d850-d5fe-455c-9803-f77d1ec825b7%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.

–

  1. Please be kind and don't send large attachments
  2. For issues, features requests use https://github.com/frappe/erpnext/issues

    —

    You received this message because you are subscribed to the Google Groups “ERPNext Developer Forum” group.

    To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.

    To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7d19ea01-99d8-4e4c-8d21-8f754977110d%40googlegroups.com.

    For more options, visit https://groups.google.com/d/optout.
1 Like

This is great.

Can you add it to the Wiki ?

Wiki page already done:
vagrant box for frappe

2 Likes

Hey, I just successfully finished setting up ERPnext on Digital Ocean, but now my local version isn’t working anymore. So I started from scratch. I have all the dependencies working and bench is installed. I’m following https://github.com/frappe/bench#setting-up-erpnext I might work with vagrant in the future (as stated by @luisfmfernandes below ), but I’d like to get it work without it, too.

My current problem is, after entering bench init frappe-bench I get this error message:

Checking connectivity... done.
installing frappe
Compiling .../erpnext/frappe-bench/env/build/gunicorn/gunicorn/workers/_gaiohttp.py ...
  File ".../erpnext/frappe-bench/env/build/gunicorn/gunicorn/workers/_gaiohttp.py", line 64
    yield from self.wsgi.close()
             ^
SyntaxError: invalid syntax

Afetr that everything else runs smooth and I’m able to access ERPnext in the browser. But I’m still curious what the error is about and how to solve it.

Also I’d like to know how I can use my own fork of frappe in this setup.

Bst, PS

Ah I answered my last question by looking at the code. Should have done it right away :wink: bench init frappe-bench --frappe-path git@github.com:peterschmidler/frappe.git

After which changes in the source code do I have to restart the server? Or is there something like a bench watch?

Depends what code you want to change.

if you developing you should use bench serve

if you are changing core JS files, do

bench frappe -w