Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
15 changes: 15 additions & 0 deletions readme.scroll
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,21 @@ Torify your site with an onion domain: https://www.torproject.org/about/history/

sudo apt update && sudo apt install -y tor && echo -e "HiddenServiceDir /var/lib/tor/hidden_service/\nHiddenServicePort 80 127.0.0.1:3000" | sudo tee -a /etc/tor/torrc && sudo systemctl restart tor && sudo cat /var/lib/tor/hidden_service/hostname


# Development Environmet Steps
Add '''
git config --global alias.acp '!git add . && git commit -m "local Update" && git push'
'''

and use git acp to push to remote

Make sure server side .gitignore includes all log and often changed files, to avoid local push conflicts.

## run this to set up auto server restart on push
'''
cd hooks && touch post-update && chmod +x post-update && echo -e '#!/bin/sh\ncd /root || exit\npm2 restart server.js\ngit update-server-info' > post-update
'''

ScrollHub is public domain.

footer.scroll