Hello everyone! i’m trying to setup a linux ubuntu 12.04 32-bit server with erpnext on the ip: 178.62.47.124
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
installed erpnext
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 178.62.47.124 bench frappe --install_app erpnext 178.62.47.124 bench frappe --install_app shopping_cart 178.62.47.124
setup supervisor
bench setup supervisor sudo ln -s
pwd/config/supervisor.conf /etc/supervisor/conf.d/frappe.conf
setup nginx
bench setup nginx sudo ln -s
pwd/config/nginx.conf /etc/nginx/conf.d/frappe.conf
removed the default Nginx site
sudo rm /etc/nginx/sites-enabled/default
then changed default site
bench set-default-site 178.62.47.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 178.62.47.124 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
Rgds,
Omkar
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 <178.62.47.124> 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 .
vrms
April 26, 2016, 12:34am
7
@Baljeetsingh can you post your installation steps here, so they are available fr anybody please?
How to install setup for frappe
Installation
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
Installation Concerns
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.
Dependencies Commands
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.
kunle
February 16, 2018, 6:05am
9
CAN U SEND ME STEPS TO DOWNLOAD,INSTALL ERP NEXT IN WINDOWS 8 OR 10 PLEASE.jasonallied@yahoo.com
You cant install ERPNext on windows directly.
Check this link for instructions on how to run erpnext on a virtual machine.
https://erpnext.com/download ?