Last active
September 2, 2015 04:44
-
-
Save aa21/245160f7c2ca379b5e5c to your computer and use it in GitHub Desktop.
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
# Serve Static Files from public folder | |
app.use(express.static('public')); | |
# Serve "public" folder's files as Static Files from path "/static" | |
app.use('/static', express.static('public')); | |
# Hosting apache & NodeJS on same server | |
<VirtualHost *:80> | |
ServerName bms.komiapp.com | |
ProxyPreserveHost on | |
ProxyPass / http://localhost:8888/ | |
</VirtualHost> | |
#Making changes to installed modules | |
-> fork from github | |
-> make changes to git | |
-> npm install https://github.com/<username>/<repository>/tarball/master | |
# Express generator | |
npm install -g express-generator | |
express expressproject | |
cd expressproject | |
npm install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment