@kiwicom/smart-faq
Version:
Smart FAQ
35 lines (22 loc) • 923 B
Markdown
id: setup
title: Setup
sidebar_label: Setup
## Installation
Clone the repo `git clone git@gitlab.skypicker.com:frontend/smart-faq.git`
Install all the dependencies with `yarn`.
In order to be able to login one requires a `.env` file at the root of the codebase, with the following content:
```
GRAPHQL_URI=XXXXXXXX
KIWILOGIN_USER=XXXXXXXX
```
`KIWILOGIN_USER` is only needed for this standalone app to work.
Check 1Password SmartFAQ vault to see for `GRAPHQL_URI`, `KIWILOGIN_USER` and other env values.
## Running the app locally
To serve the app on your local environment, run:
```
yarn start
```
[0.0.0.0:8080](http://0.0.0.0:8080/) will open automatically in your browser, but you can also open [localhost:8080](http://localhost:8080/) to view it.
If you would like to view the app on a mobile device, you can do it by visiting `{your_local_ip_address}:8080` (System preferences -> Network on MACs)