Add documentation for setting the project up

This commit is contained in:
Ceda EI 2020-12-22 13:49:20 +05:30
parent b4841b949d
commit 9628230ec7
1 changed files with 45 additions and 1 deletions

View File

@ -1,2 +1,46 @@
# Readme
# Honda Hackathon: Voice and OSD Integrated System
## Mock Car API
- `git clone ssh://git@git.webionite.com:4441/Firewalkers/MockCarAPI.git`
- `cd MockCarAPI`
- `echo "{}" > data.json`
- `pip install -r requirements.txt`
- `flask run`
## OSD
### OSD Backend
- `git clone ssh://git@git.webionite.com:4441/Firewalkers/OSD-Backend.git`
- `cd OSD-Backend`
- `pip install -r requirements.txt`
- Install a asyncio server. e.g. `pip install eventlet`
- `cp sample.config.py config.py`
- `python3 app.py`
### OSD Frontend
- `git clone ssh://git@git.webionite.com:4441/Firewalkers/OSD-Frontend.git`
- `cd OSD-Frontend`
- `yarn install`
- `cd src`
- `cp sample.config.js config.js`
- `yarn start`
## Voice Plugins
- Setup mycroft according to guides on [mycroft.ai](https://mycroft.ai)
- `git clone ssh://git@git.webionite.com:4441/Firewalkers/Voice-Plugins.git`
- Copy the plugins over to `/opt/mycroft/skills/`
- `pip install requests`
- Start mycroft according to the docs.
## Background Daemon
- `git clone ssh://git@git.webionite.com:4441/Firewalkers/Background-Daemon.git`
- `cd Background-Daemon`
- `cp sample.config.py config.py`
- `pip install -r requirements.txt`
- `python3 daemon.py`