Starting new project
We already explained how to test our integration in your local machine. In this point we're going to show how you can start your own new project using our integration. It's really simple to get start. Just follow the steps below.
Running in your local machine
- Type the command to get the project:
git clone https://github.com/vuestorefront-community/template-odoo.git
- Copy .env.example to .env
- Install the dependences:
yarn install
🎯 This script will get all categories and products previously entered into odoo database and generate Nuxt custom routes. It creates a Custom Routes folder with all routes retrieved from odoo
- Build for production and launch server:
yarn build
- Build local:
yarn build:local
Docker
You can use Docker instead. Type:
docker-compose up --build -d
You might need to: Type:
docker-compose restart odoo nginx
After installation
Now just open http://localhost:3000 for Alokai and http://localhost:8069 for local Odoo (credentials admin/admin)