Open ttpro1995 opened 6 years ago
Little typo in the comment above, which had me (inexperienced gitter) stumble around for a while.
The correct command is:
git remote add dokku dokku@your-server-ip:bandwidth-hero-proxy
not
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
Besides that, everything works with dokku.
Before you run git push dokku master
command, you should run the command: dokku git:initialize bandwidth-hero-proxy
on the server-side. Otherwise, the git push may fail.
I am gonna go crazy tinkering this for 6 hours, lol. Can somebody help me ? For someone who never used linux can't set this at all. Why dokku need to push the code from local pc ? Is it possible to install all of this via dokku server ?
I tried to install to vps directly without dokku, can work on port 8080, but can't work on nginx proxy forwarding, getting headache.
You can push code from server that host Dokku to the git address in Dokku. Dokku work like heroku. It build app from .git
So you must push code.
You can run these command on ssh-terminal of the server that install Dokku too.
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy
git push dokku master
You can push code from server that host Dokku to the git address in Dokku. Dokku work like heroku. It build app from .git
So you must push code.
You can run these command on ssh-terminal of the server that install Dokku too.
git add remote dokku dokku@your-server-ip:bandwidth-hero-proxy git push dokku master
I got it working now without dokku. Apache and nginx failed me, I used nginx proxy manager to redirect it to my subdomain and add the https this thing won't work without https.
It can work without Dokku but Dokku save your time with Apache and Nginx :v
You can use Dokku on your own server to host bandwidth-hero-proxy. Worked as Heroku https://github.com/dokku/dokku
Just create an app on Dokku
dokku apps:create bandwidth-hero-proxy # on dokku server
Then from your local PC, push the code to dokku
Then check for port with
your compression server is hosted at
http://your-server-ip:your-port/