neo4j.org website
JavaScript CSS HTML
Switch branches/tags
live_2016_04_11_14_29 live_2016_04_08_22_33 live_2016_04_08_16_05 live_2016_04_08_13_31 live_2015_12_29_14_59 live_2015_12_09_15_36 live_2015_12_07_18_38 live_2015_12_07_17_03 live_2015_10_16_17_53 live_2015_10_16_17_15 live_2015_09_03_18_37 live_2015_08_21_08_57 live_2015_08_21_08_11 live_2015_06_12_09_01 live_2015_06_09_17_29 live_2015_03_09_15_11 live_2015_03_09_13_38 live_2015_03_09_13_28 live_2015_03_09_13_25 live_2015_03_09_13_23 live_2015_02_17_14_11 live_2014_11_26_11_44 live_2014_11_26_08_53 live_2014_11_26_08_50 live_2014_11_25_19_24 live_2014_11_25_15_14 live_2014_11_25_15_02 live_2014_11_25_15_01 live_2014_11_11_18_46 live_2014_11_11_18_32 live_2014_11_11_17_07 live_2014_11_11_17_05 live_2014_11_11_16_47 live_2014_11_11_16_46 live_2014_10_29_13_05 live_2014_10_28_10_35 live_2014_10_28_10_29 live_2014_10_28_10_21 live_2014_10_28_10_06 live_2014_10_22_15_47 live_2014_10_22_15_19 live_2014_10_22_15_10 live_2014_10_22_14_27 live_2014_10_22_13_45 live_2014_10_22_13_43 live_2014_10_22_13_42 live_2014_10_21_11_46 live_2014_10_17_19_38 live_2014_10_13_07_46 live_2014_09_11_17_26 live_2014_07_31_12_05 live_2014_07_29_21_06 live_2014_07_23_00_10 live_2014_07_22_23_51 live_2014_07_22_11_40 live_2014_07_22_10_24 live_2014_07_22_08_55 live_2014_07_21_11_21 live_2014_07_21_11_03 live_2014_07_21_10_52 live_2014_07_21_08_31 live_2014_07_19_33 live_2014_07_16_23_10 live_2014_07_08_15_43 live_2014_07_08_11_04 live_2014_07_04_12_26 live_2014_07_04_12_25 live_2014_07_03_14_26 live_2014_07_03_13_48 live_2014_07_02_22_25 live_2014_07_01_12_30 live_2014_07_01_12_00 live_2014_07_01_09_36 live_2014_07_01_09_35 live_2014_06_30_11_34 live_2014_06_16_13_58 live_2014_06_16_13_31 live_2014_06_16_13_00 live_2014_06_13_10_54 live_2014_06_13_10_52 live_2014_06_13_10_17 live_2014_06_13_10_16 live_2014_06_12_15_11 live_2014_06_09_23_33 live_2014_06_09_23_30 live_2014_06_09_21_55 live_2014_06_09_21_48 live_2014_06_04_01_27 live_2014_06_03_23_00 live_2014_05_29_23_41 live_2014_05_26_02_19 live_2014_05_22_11_44 live_2014_05_20_15_09 live_2014_05_20_13_24 live_2014_04_28_08_00 live_2014_04_24_01_47 live_2014_04_23_05_53 live_2014_04_19_01_30 live_2014_04_14_22_21 live_2014_04_14_15_52
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
data
helpers
licenses/isotope_commercial_license
public
routes
tools
views
.gitignore
Procfile
all.iml
app.js
doImport.js
package.json
readme.md
story_track_sql_to_graph.txt

readme.md

neo4j.org

Served with express.js, mostly static pages with javascript.

Running local

With nodes.js installed, first install dependencies like so:

npm install

Then run the server:

node app

Which should report something like:

"Express server listening on port 3000"

Which means you can now open a browser to http://localhost:3000

Ongoing Development

Publish images or assets to s3 bucket (which is backing a cloudfront CDN)

Install s3tools and configure with AWS credentials:

s3cmd --configure
s3cmd ls s3://assets.neo4j.org/

// -P means public acl and -cf-invalidate does cloudfront invalidation
s3cmd -P --cf-invalidate public/assets/path/file s3://assets.neo4j.org/path/

will be available as http://assets.neo4j.org/path/file

Get the latest changes:

git pull

Submit your local changes:

git commit -am "beautification and verbal eloquence"
git push origin master

Publish assets like images to S3

 s3cmd --configure
 s3cmd ls s3://assets.neo4j.org/
 s3cmd put --acl-public  public/assets/path/file s3://assets.neo4j.org/path/

Publish

For staging content, push to:

git remote add staging git@heroku.com:neo4j-org-staging.git
git push staging master

Then view the website like so:

heroku open --remote staging

Or go directly here: http://obscure-wildwood-7384.herokuapp.com

For production, push to the default remote:

git remote add live git@heroku.com:neo4j-org-live.git
git push live master

Viewable by:

heroku open --remote live

Or go directly here: http://neo4j-org.herokuapp.com/

References