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.
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).
- It's a Rails 2.1.2 app (!).
-
Get sources
-
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
-
Check the dependencies on the server by running locally:
$ cap deploy:check
-
Make the directory structure:
$ cap deploy:setup
-
Log into the server and create “shared/config/database.yml” with database config (see config/database.yml)
-
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.
VampireAds is Copyright © 2013 Recess Mobile.
It is free software, and may be redistributed under the terms specified in the MIT-LICENSE file.