Hi,
We are learning frappe in a team. Each team members has virtual machine Ubuntu installed and working dedicate. I want to copy only a app from one machine to another.
For that the following steps i tried:
My bench version 4.10 as shown by bench --version
Steps to copy app from one machine to another i executed:
-
copy manually app to app folder
-
bench new-site lms.dev
-
bench start
-
bench --site lms.dev install-app library_managment
-
bench update
-
cd apps cd library_managment and then sudo python setup.py develop
-
cd enter and cd frappe-bench
-
bench start
-
manually upload database.gz file to sites public/file folder
-
cd sites cd lms.dev cd public cd files
-
gunzip 20170208_104309_45211acb_database.sql.gz
-
cd
-
cd frappe-bench
-
bench --site lms.dev --force restore /sites/lms.dev/public/files/20170208_104309_45211acb_database.sql
-
bench start
-
bench migrate
-
bench update
-
bench --site lms.dev install-app library_managment
-
cd apps cd library_managment and then sudo python setup.py develop
-
bench start
-
cd apps cd frappe and then sudo python setup.py develop
-
bench update
-
entered manually developer mode and nginx port to json file and app name app.txt
-
bench update
-
sudo service nginx reload
-
sudo bench update
-
bench update --upgrade
Now giving importError: No module named library_management
As i am beginner could not find the reason why i am getting such errors. Please help.
Thanks in Advance.