Git Product home page Git Product logo

shelfie-voice's Introduction

shelfie-voice

shelfie is my bookshelf search engine project.

Shelfie Voice API

This repository contains the alexa-skill for shelfie

Installation and testing

Run the following Commands

sudo apt-get install build-essential libssl-dev libffi-dev python-dev
python3 -m venv env
source env/bin/activate
pip install -r requirements.txt
gunicorn --bind 0.0.0.0:13002 -w 1 wsgi

Production Deployment

Use gunicorn and nginx for deployment.

Systemctl file for gunicorn

[Unit]
Description=shelfie voice gunicorn
After=network.target

[Service]
User=user
Group=group
WorkingDirectory=/home/user/shelfie-voice
Environment="PATH=/home/user/shelfie-voice/env/bin"
ExecStart=/home/user/shelfie-voice/env/bin/gunicorn --workers 1 --bind 0.0.0.0:13002 wsgi:app

[Install]
WantedBy=multi-user.target

Systemctl file for ngrok

[Unit]
Description=ngrok tunnel for shelfie voice
After=network.target

[Service]
User=user
Group=group
Environment="PATH=/home/user/tools/bin/"
ExecStart=/home/user/tools/bin/ngrok http 13001

[Install]
WantedBy=multi-user.target

Ensure that you register the alexa url by checking the url on ngrok.com.

Development Notes

There's a caveat to how this application works. It is intended to first ask the other API where the book is and then ask to highlight it, but for now it just highlights it and then responds. This is not how I intend it to work. I need to look into dialogue building with Alexa.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.