Created
February 4, 2014 04:16
-
-
Save khornberg/8798074 to your computer and use it in GitHub Desktop.
gitlist launcher for Ubuntu
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Desktop Entry] | |
Version=0.1 | |
Name=GitList | |
Comment=An elegant and modern git repository viewer | |
Exec=/usr/local/bin/gitlist.sh | |
Icon=/opt/gitlist/web/img/favicon.png | |
Terminal=true | |
Type=Application | |
Categories=Utility;Application; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Path to gitlist folder | |
GITLIST_PATH=/opt/gitlist | |
# open default browser to url | |
xdg-open http://localhost:8000 | |
# go to gitlist folder and launch built in php server and use index.php as the router | |
# the server will not display files if -t is used | |
cd $GITLIST_PATH | |
php -S localhost:8000 index.php |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment