Applications built for the National Day of Civic Hacking's USPTO Trademarks Challenge
##Setup
- Amazon has a great walkthrough
- Port 7474 should be open (Neo4j access)
- In production you might want to change this!
- Port 22 should be open (SSH Access)
- You can only download this once, and instances are locked to a key, be careful!
- Use your package manager or download directly from Ansible
sudo gem install neography
##Launch and Configure Server
- We used a 64 Bit Ubuntu 13.04 (ami-c30360aa), with a size of m1.large
etc/ansible/hosts
-
Add the following lines
[neo4j]
YOUR_EC2_INSTANCE_IP
ansible-playbook deploy/deploy_neo4j.yml -vv --private-key=/path/to/ec2/pri/key
##Load Data into Neo4j
rosetta/neo4j_helper.rb
- Set config.server to the EC2 instance's IP
ruby rosetta/load.rb
####Quick fixes
- Make sure the EC2 private key has permissions for only the current user!
ssh -i ~/.ssh/rosetta-ndoch.pem [email protected]