Skip to content

Latest commit

 

History

History
40 lines (33 loc) · 1.23 KB

File metadata and controls

40 lines (33 loc) · 1.23 KB

BetaDroid Server

Web

Painless over-the-air app distribution to your testers web backend.

Android app on Google Play or https://github.com/Oxtilo/BetaDroid-Android

Setup

Install ruby 1.9.3 on your system and clone application:

git clone git@github.com:Oxtilo/BetaDroid-Server.git
cd BetaDroid-Server

Create config file .env with content:

GOOGLE_KEY=google-oauth-key-here
GOOGLE_SECRET=google-oauth-secret-here
ADMIN_EMAIL=admin@email.here
APP_NAME=app-name-to-display
APP_DESCRIPTION=short-app-description

Create credentials in https://code.google.com/apis/console/ for oauth google plus login and place it in .env file for key GOOGLE_KEY and GOOGLE_SECRET. Callback url will be pointing to /auth/google_oauth2/callback path.

Install dependencies and create sqlite3 db

bundle install
bundle exec padrino rake ar:create -e production
bundle exec padrino rake ar:migrate -e production

And finally run webserver

bundle exec padrino start -h 0.0.0.0 -p 80 -e production