Giter Club home page Giter Club logo

all-in-flask's Introduction

Build Status

Quickstart

This application is built for the Attendy Project for IEOR 171: Technology Firm Leadership and Organizational Behavior at University of California, Berkeley.

Setting Up The Environment

Since our project is currently under development, we don't have an online version ready. However, you can test it locally by following the intructions below.

Clone the repository

In bash, run:

git clone https://github.com/lentebloem/all-in-flask.git
cd all-in-flask

Create a new virtual environment

Install the requirements.

pip install -r requirements.txt
  1. Copy the .env.example file to .env, and edit it to match your database.

  2. Run source .env to apply the environment variables (or even better, use autoenv)

  3. Run the migrations.

python manage.py db upgrade
  1. Seed the database.
python manage.py dbseed

Seeding will load survey.json into SQLite.

  1. Expose your appliction to the wider internet using ngrok.

To actually forward incoming calls, your development server will need to be publicly accessible. We recommend using ngrok to solve this problem.

$ ngrok http 5000

Once you have started ngrok, update your TwiML app's voice URL setting to use your ngrok hostname. It will look something like this:

http://88b37ada.ngrok.io/support/call

Start the development server

python manage.py runserver

Once ngrok is running, open up your browser and go to your ngrok URL. It will look like this: http://88b37ada.ngrok.io

License

MIT

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.