Hello everyone! i’m trying to setup a linux ubuntu 12.04 32-bit server with erpnext on the ip: 188.8.131.52
so i have followed the guide at GitHub - frappe/bench: CLI to manage Multi-tenant deployments for Frappe apps and so far i cannot get it to show when i try and acces the site in my browser
this is my steps so far:
got the setup from frappe-bench:
wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh sudo bash setup_frappe
cd ~ bench init frappe-bench cd frappe-bench bench get-app erpnext https://github.com/frappe/erpnext bench get-app shopping_cart https://github.com/frappe/shopping-cart bench new-site 184.108.40.206 bench frappe --install_app erpnext 220.127.116.11 bench frappe --install_app shopping_cart 18.104.22.168
bench setup supervisor sudo ln -s pwd
bench setup nginx sudo ln -s pwd
removed the default Nginx site
sudo rm /etc/nginx/sites-enabled/default
then changed default site
bench set-default-site 22.214.171.124
then reloaded nginx
sudo service nginx restart
now when i try and acces that ip it doesnt show anything?
is there something i have forgotten or left out?
The syntax of bench new-site is actually bench new-site <site name>.
So your command would have created a site with a name of 126.96.36.199 not at that ip though.
My guess is it would be accessible at localhost:8000 or 127.0.0.1
You can also check if bench is running-
ps - ef|grep bench
Sent from Mobile Device
hello! thank you for the answer! i had no idea they changed the syntax do you know where i can find documentation for this?
when i try the command bench new-site <188.8.131.52> it gives me an error: -bash: syntax error near unexpected token ‘newline’ how come?
you also said this will create the site but not at that ip address, how do i create it at the ip and not just on the server?
Did you work out a solution to this? Can’t seem to get bench to serve the ip of my erpnext and forward it with DNS.
Please send me you email id and i will send you a docx .
I have made it with all the installation steps and will help you to install erp next .
@Baljeetsingh can you post your installation steps here, so they are available fr anybody please?
How to install setup for frappe
NOTE : BEFORE STARTING THE INSTALLATION PROCESS PLEASE RUN THE DEPENDENCIES COMMANDS
In your terminal window type the following command to install frappe/ernext one by one.
a) wget https://raw.githubusercontent.com/frappe/bench/master/install_scripts/setup_frappe.sh
b) sudo bash setup_frappe.sh --setup-production (For production type installation)
Dependencies Command: sudo apt-get install ca-certificates
While running step B from above there might be a chance it show error message related to npm saying npm command not found. It means we need to install npm on machine first so please execute the following commands one by one in terminal.
- sudo apt-get install nodejs
- sudo apt-get install npm
Above commands will install npm on machine now we can run the step b again.
CAN U SEND ME STEPS TO DOWNLOAD,INSTALL ERP NEXT IN WINDOWS 8 OR 10 PLEASE.firstname.lastname@example.org
You cant install ERPNext on windows directly.
Check this link for instructions on how to run erpnext on a virtual machine.