WaiveCar / instaad

0 stars 0 forks source link

schema

objects

InstaAd for Waive

website is at preview.waivescreen.com for now

Current "public" site is at waivescreen.com

Current API Endpoints

http://staging.waivescreen.com/api/campaign_history?id=[number_of_campaign_id]

http://staging.waivescreen.com/api/sensor_history

http://staging.waivescreen.com/api/campaigns

What keeps the server going

Gunicorn (A python3 module that) keeps the python files in check and supervisor (apt install program) keeps gunicorn constantly running.

Restart the server with

sudo systemctl restart nginx

Restarting supervisor

sudo supervisorctl reload

This link is helpful regarding configuring supervisor

supervisor constantly runs the command

gunicorn -w 3 run:app

pip modules to install for web

Recomennded to be done using a venv

Steps for setting up venv

Run these commands in the shell

python3 -m venv venv
source venv/bin/activate
pip3 install -r requirements.txt

Server directories

Production vs Development

In order to update the server or set up a develpment server these things should be done. This is due to be changed so it wont be so tedious.

Flow

The landing page is essentially:

  You can promote with your existing Instagram account Instantly on our Magical Screens
  Anybody can do it
  No Agency Required
  No Credit Card required
  No hidden fees

  And it's just 1 button.
  This button, right here!

  <button>
  Yes that one

The important part are:

After that you log in then.

  your promotion just played in Culver City
  Your instagram has XX free plays left

  Want more?
  Want to customize?

  Finish your account setup

    email / password / credit card

The important parts are:

The last one is important: If you offer a decent product at a decent price you shouldn't have to emphasize that fact ... "show not tell".