Skip to content

CarouselSMS/VampireAds

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VampireAds, text to screen SMS application

Source code for the admin part of VampireAds.com.

Does text to screen and a more complex semi-anonymized chat (what we call "proxy chat" - see the diagram, below). See VampireAds.com for examples.

Workflow

workflow diagram

All of the carrier-specific notes are deprecated (tariffs, T-Mobile double opt-in… all of this is now much more easily accomplished over long codes).

Notes
  • It's a Rails 2.1.2 app (!).
It may take some doing to get this up and running. The general idea:
  1. Get sources

  2. Update config/deploy.rb:

    • change :repository to point to the remote repository with code (accessible from the deployment server (DS) )
    • change :domain to the DS IP or name
    • change :user and :runner to the DS user name
    • change :deploy_to to the full path for the deployment

2.1 Install capistrano gem

$ gem install capistrano
  1. Check the dependencies on the server by running locally:

    $ cap deploy:check

  2. Make the directory structure:

    $ cap deploy:setup

  3. Log into the server and create “shared/config/database.yml” with database config (see config/database.yml)

  4. Deploy the app and start fixing errors:

    $ cap deploy:cold

Now the fun part: installing missing gems. This project is from pre-Bundler era, so there’s no gem manifest. You'll have to wire the app to the web server and test it in-browser. The errors will mention a missing gem. Then, go into the server console, install it, rinse, repeat.

License

VampireAds is Copyright © 2013 Recess Mobile.

It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.