web-terminal: Add app.json for Heroku

This commit is contained in:
Evan Ferrao 2022-02-02 09:33:37 +05:30
parent 48ce10fe0b
commit 582674c3f5
No known key found for this signature in database
GPG Key ID: 172B985FA063376F
2 changed files with 26 additions and 31 deletions

View File

@ -5,41 +5,12 @@
Do you want to host your terminal,and can be accessible from web browser
## Requirements:
GIT
Heroku cli
A heroku account
A blank heroku app
Some Braincells: Very Important
## Follow these steps:
Login with heroku
```
heroku login -i
```
fill your heroku credentials
Now if you don't have blank application available ,create one by
```
heroku create {appname}
```
```
git clone https://github.com/kcubeterm/kali-web
cd kali-web
```
now open heroku.yml and replace `username` and `password` with any credentials
And execute install.sh
```bash install.sh```
It ask for your heroku application name, fill it and hit enter, after some time, if you don't get any error.
You can view your kali terminal in https://appname.herokuapp.com
[![Deploy To Heroku](https://www.herokucdn.com/deploy/button.svg)](https://heroku.com/deploy?template=https://github.com/Box-boi/web-terminal/)

24
app.json Normal file
View File

@ -0,0 +1,24 @@
{
"name": "Web Terminal",
"description": "Fully fledged Ubuntu Terminal, refer readme for more info.",
"repository": "https://github.com/Box-boi/web-terminal.git",
"keywords": ["docker","ubuntu", "linux", "remote", "ssh", "rclone", "auto-backup"],
"stack": "container",
"env": {
"USERNAME" : {
"description": "Your Username.",
"value" : "user",
"required" : true
},
"PASSWORD": {
"description": "Your Password.",
"value" : "password",
"required" : true
},
"APP_NAME" : {
"description": "Name of the app, same as mentioned above.",
"value" : "",
"required" : true
}
}
}