Git Product home page Git Product logo

wnew's Introduction

Wnew

Build Status

This project "wnew" was started by menbers of IT community "Wacker" in Wakayama.

このプロジェクトでは、 Excel や CSV のオープンデータから簡単にウェブベースのモバイルアプリを作れるようにすることを目標にしています。

http://wnew.wacker.io/

GitHub リポジトリは以下の URL です。

https://github.com/wakayama-hacker/wnew

このプロジェクトの特徴

  • data/ ディレクトリ内に CSV や Excel ファイルを設置して npm コマンドを実行するだけで、それらのデータが JSON API に変換されモバイルアプリ上に表示されます。
  • config.jsonREADME.md を編集することで、トップページやタイトルなどをカスタマイズすることができます。
  • Riot.js などのモダンな開発環境をあらかじめ構築済みなので、プログラミング初心者でもすぐにはじめることができます。
  • Riot.js の柔軟でわかりやすいカスタムタグにより、さらに一歩踏み込んだカスタマイズも可能です。
  • Travis CI と組み合わせれば、CSV を編集するだけで、GitHub ページに自動的にデプロイすることができます。

はじめかた

Git と Node.js がインストール済みの環境であれば、以下のコマンドですぐに試すことができます。

$ git clone [email protected]:wakayama-hacker/wnew.git
$ cd wnew
$ npm install
$ npm run build
$ npm start

データのカスタマイズ

data/ ディレクトリに以下のフォーマットの CSV ファイル、または Excel ファイルを設置してください。

menu title lat lng content
串本 橋杭岩 33.488547 135.795751 これは橋杭岩です。
串本 潮岬 33.437084 135.755906 本州最南端の潮岬です。
白浜 円月島 33.690140 135.337222 円月島です。

CSV の場合、以下のようなフォーマットになります。

menu,title,lat,lng,content
串本,橋杭岩,33.488547,135.795751,これは橋杭岩です。
串本,潮岬,33.437084,135.755906,本州最南端の潮岬です。
白浜,円月島,33.690140,135.337222,円月島です。

データの編集が終わったら以下のコマンドでビルドしてください。

$ npm run build

アプリ本体のカスタマイズ

アプリを開いてすぐに表示されるトップページは、README.md に記述されている内容を元に自動的に生成されます。

README.md を編集して、以下のコマンドを実行してください。

$ npm run build

タイトル等の変更

アプリのタイトルは、config.json に記述されています。このファイルを編集してこれまでと同じように以下のコマンドを実行してください。

$ npm run build

まだカスタマイズ可能な項目は少ないですが、今後はテーマシステムを開発して、外観の変更も可能にしていく予定です。

ライセンス

MIT

wnew's People

Contributors

miya0001 avatar naogify avatar kamataryo 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.