Giter Club home page Giter Club logo

3000acres's Introduction

3000acres

3000 Acres will connect people to land, to resources and to each other.

We want to unlock the acres of underutilised land locked behind chainlink fences. Bring urban farming to sites awaiting development and activate our rooftops.

Setup

Notes on setting up the app:

Create admin user(s)

Via the rails console, find the user you want, eg:

u = User.find_by_name('Skud')

Then do:

u.add_role :admin

Set up CMS

Sign in as an admin user, then go to the CMS admin page (/cms-admin) and set up as follows:

  • A site called "topnav", identifier "topnav", path "/"

  • A layout called "default", using the application layout

    • If you want to set up a "title" field for each page, make your layout's content read something like:

      <h1>
      {{ cms:page:title:string }}
      </h1>
      
      {{ cms:page:content:text }}
      
    • Now when you create/edit a page, you'll see a field where you can enter the page title.

    • This title will then be included in the HTML title (used by the browser etc)

  • Under pages, set up:

    • A top-level page called "topnav"
    • Under that, any pages that you want to appear in the top navbar, eg. "About", "Donate", etc.

All this "topnav" guff is required to get the pages to show up automatically in the top navigation bar.

For coders

3000 Acres is a Ruby on Rails 4 app. Feel free to fork it and play with it, raise issues and pull requests against the code, etc. You may also like to check out our higher-level task tracker where the project planning takes place.

For any code related queries, email [email protected].

License

This application is open source, licensed under the Affero General Public License version 3 (AGPLv3). See LICENSE.txt for the full details.

Credits

Based (conceptually) on 596acres whose code can also be found on github.

Some code comes from Growstuff under AGPLv3.

Map pins: CC-BY-SA user Mono on Wikimedia Commons

3000acres's People

Contributors

bashton37 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.