AdoBot Android Spyware Server
- Sign up to Heroku
- Create a new app (Click the
Newbutton in the top right of the dashboard) - Name your app to whatever you want. Let's name it
your-appfor example purposes
- Go to "Resources" tab
- In the "Addons" section, type "ClearDB" and select the first suggestion
- Click
Provisionwhen prompted
- Go to the settings tab of your new heroku app
- Click
Reveal Config Varsbutton - Copy the VALUE of
CLEARDB_DATABASE_URLKEY - Create a new KEY named
DATABASE_URLand the paste into theVALUEfield the value fromCLEARDB_DATABASE_URL. ClickADDto save. - Create a new KEY named
ADMIN_USERNAMEand the VALUE will be your desired username used to login into the panel later. Then clickADDbutton - Create a new KEY named
ADMIN_PASSWORDand the VALUE will be your desired password used to login into the panel later. Then clickADDbutton
- 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 URLfield. It looks likehttps://git.heroku.com/your-app.git - Download this repository (AdoBot-IO) and extract the contents of the zip file
- Then
cdinto the the extracted directory. excd ~/Downloads/AdoBot-IO - Then enter the commands below (Remember to change
your-appto 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.
- NodeJS
- MySql
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.
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
Released under MIT License