Skip to content

Plotting and connecting the landscape of New Zealand's Maker Community

License

Notifications You must be signed in to change notification settings

MakersNZ/MakersMap

Repository files navigation

Nz Makers

Build Status Code Climate Dependency Status

Generated with the rails_apps_composer gem.

Getting Started

This application requires:

  • Ruby 2.2.1
  • Rails 4.2.3
  • Postgres 9.4
  • ElasticSearch
  • Linux or MacOS
Mac OS Quickstart
  • install homebrew: ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  • postgres: brew install postgres
  • elasticsearch: brew install elasticsearch
  • git: brew install git
  • do setup in General Quickstart
Linux Quickstart
General Quickstart
  • install rvm https://rvm.io/rvm/install#quick-guided-install
  • install ruby with rvm rvm install ruby-2.2.1
  • connect your git with github (skip if done) https://help.github.com/articles/set-up-git/
  • checkout project somewhere: git clone git@github.com:MakersNZ/MakersMap.git
  • move to project directory: cd MakersMap
  • install bundler gem install bundler
  • bundle all the gems bundle
  • install npm
  • install bower npm install bower
  • install js dependencies with bower rake bower:install
  • configure database connection inside: config/database.yml
  • create new database: rake db:create
  • run database migrations rake db:migrate
  • seed starting data rake db:seed
  • FIRE UP THE APP rails server
  • Check it works in your browser http://localhost:3000
  • Make changes, reload browser to see them happen

#####Vagrant

  • Install Vagrant and Virtualbox, the steps would depend on your OS.
  • Install the vbguest plugin by running vagrant plugin install vagrant-vbguest
  • Start vagrant with Vagrant up
  • Login to VM: Vagrant ssh
  • Goto the app: cd /vagrant/
  • Install bundler: **gem install bundler"
  • bundle all the gems bundle
  • create new database: rake db:create
  • run database migrations: rake db:migrate
  • seed the starting data: rake db:seed
  • Start it: rails server -b0.0.0.0
  • Check if it works in your browser http://localhost:3000

Documentation and Support

To refresh the ElasticSearch Index, run rake refresh_es

Issues

Similar Projects

We are unique like a snowflake.

Contributing

Please fork the repo to your own github account, make a new branch for your feature/changes and then make a pull request to have it merged back into this repo.

Credits

License

GNU Affero General Public License v3 https://tldrlegal.com/license/gnu-affero-general-public-license-v3-(agpl-3.0)

About

Plotting and connecting the landscape of New Zealand's Maker Community

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •  

Languages