Installation
How to setup Restaurant App
- Clone or download source code from GitHub
- To download the Multivendor Restaurant App Click here on Download Enatega Multivendor.
⚠ Note: Ensure you have Node.js installed on your computer to launch the module.
- After installing Node.js:
- Open the Enatega MultiVendor code in a code editor.
- To run the
enatega-multivendor-restaurant
, open it in the integrated terminal by:- Right-clicking on the
enatega-multivendor-restaurant
folder and selecting “Open in Integrated Terminal” - Or by using the following command in the terminal:
- Right-clicking on the
cd <Project directory>
For example:
cd enatega-multivendor-restaurant
- To test the Restaurant App(you don’t have own server url) and check the look and feel, no changes are needed.
- To run the Restaurant App against your own server URL:
- Go to the
environment.js
file - Replace the following in
environment.js
:GRAPHQL_URL
WS_GRAPHQL_URL
- After completing all the configurations, it’s time to run the Restaurant App.
- To run the Enatega Restaurant App, open the terminal and run the following commands:
npm install (or yarn install)
npm start
When you run the commands, you have two options to run your app:
- Development build
- Using Expo Go
To run the app using Expo Go:
- If you are in development build,Press
S
to switch to Expo Go from the development build. - You can either:
- Use the Expo Go app to scan the QR code to run the app.
- Use an iOS or Android simulator to run the app.