简体   繁体   中英

Setting Up Odoo Website from Server to Local Host

Well the big issue I got is how can I run Odoo on my local host (WAMP). I have gotten the files from my company server however I need to test and migrate it so I am trying to run it on my local host however I have had no luck even accessing a single web page. I have copied and pasted the folder into the correct location. However if I try to access it it just takes me to a 404 error or a directory listing page (folder structure)

So just wondering if anyone knows how I can run odoo files from my server to my local host????

Just copying folder structure is not enough for proper migration. You should also have access to the Odoo database: it uses PostgreSQL , and you should either have access to your company database server or duplicate database. It's even more important than files in Odoo directory.

Moreover, for running Odoo on your local machine, you should not have WAMP installed - python with some modules and PostgreSQL is enough.

If you want "clean" install and then using some migration tools, you can install Odoo into your machine (I provided link for 9.0 version, for 8.0 you can use this link or choose corresponding version on the Odoo installation page) - this method will setup all necessary environment automatically, but you should manually upload your data to the fresh install.

Installation from sources is some more tricky, but still not very hard. You can find instructions in official website .

After this you can check directory structure and copy your custom addons, templates, design or content from existing directory structure to the fresh one. Don't forget about database - without it you won't have huge part of your data available on company server.

For running Odoo you should run odoo.py with your python from your Odoo directory (you should have python 2.7.x installed on your machine).

By default Odoo uses port 8069 , ie for accessing it you should type in browser

localhost:8069

For more detailed instructions please refer to Odoo documentation .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM