Kang Asu
TwitterShadowBan - Twitter Shadowban Tests
Setup
Browser compatibility needs transpiling. Nothing fancy, just the usual babel magic.
git clone https://github.com/shadowban-eu/TwitterShadowBanV2 && cd TwitterShadowBanV2
npm install
Since we are using a php backend for request proxying, you will also need PHP. The gulp script uses php-cli's webserver.
[Debian]
[Debian]
apt-get install php7.2-cli
Finally, use the
default
gulp task to start the php-cli webserver and watching for file changes.npm start
Deploy
Run
npm start build
! This creates an uglified script bundle and uses minified versions of 3rd party scripts. Then copy dist/
's content to your server_root.Misc
Checking for running server (the PID differs, of course)
pgrep php -f
> 20748 php -S localhost:8080 -t ./dist/
If you need to run the php-cli webserver on another port, you will have to change it manually in
gulpfile.babel.js
, somewhere around line 72. const args = ['-S', 'localhost:8080', '-t', './dist/'];
Regards
Kang Asu
No comments:
Post a Comment
# Silahkan berkomentar, bertanya dan kritik dengan sopan
# Disini anda boleh menyisipkan Link di kolom komentar
# Tetapi akan saya moderasi atau Review terlebih dahulu tiap komentar
# Jangan sampai komentar anda mengandung SPAM.
# Terima Kasih - Regards Muhammad Sobri Maulana