Skip to content

Commit

Permalink
Merge pull request #1 from Mecabotware/master
Browse files Browse the repository at this point in the history
Geolocalización, acerca e íconos agregados.
  • Loading branch information
poguez committed Sep 10, 2014
2 parents 1d1635b + cd47872 commit 06acef6
Show file tree
Hide file tree
Showing 81 changed files with 1,158 additions and 285 deletions.
89 changes: 89 additions & 0 deletions .cordova/hooks/after_prepare/icons.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
#!/usr/bin/env node

//
// This hook copies various resource files
// from our version control system directories
// into the appropriate platform specific location
//


// configure all the files to copy.
// Key of object is the source file,
// value is the destination location.
// It's fine to put all platforms' icons
// and splash screen files here, even if
// we don't build for all platforms
// on each developer's box.

var filestocopy = [{
"res/icon/android/icon-36-ldpi.png":
"platforms/android/res/drawable-ldpi/icon.png"
}, {
"res/icon/android/icon-48-mdpi.png":
"platforms/android/res/drawable-mdpi/icon.png"
}, {
"res/icon/android/icon-72-hdpi.png":
"platforms/android/res/drawable-hdpi/icon.png"
}, {
"res/icon/android/icon-96-xhdpi.png":
"platforms/android/res/drawable-xhdpi/icon.png"
}, {
"res/screen/android/screen-hdpi-portrait.png":
"platforms/android/res/drawable-hdpi/splash.png"
}, {
"res/screen/android/screen-ldpi-portrait.png":
"platforms/android/res/drawable-ldpi/splash.png"
}, {
"res/screen/android/screen-mdpi-portrait.png":
"platforms/android/res/drawable-mdpi/splash.png"
}, {
"res/screen/android/screen-xhdpi-portrait.png":
"platforms/android/res/drawable-xhdpi/splash.png"
}, {
"res/icons/icon-72.png":
"platforms/ios/YourAppName/Resources/icons/icon-72.png"
}, {
"res/icons/icon.png":
"platforms/ios/YourAppName/Resources/icons/icon.png"
}, {
"res/icons/[email protected]":
"platforms/ios/YourAppName/Resources/icons/[email protected]"
}, {
"res/icons/[email protected]":
"platforms/ios/YourAppName/Resources/icons/[email protected]"
}, {
"res/splash/Default@2x~iphone.png":
"platforms/ios/YourAppName/Resources/splash/Default@2x~iphone.png"
}, {
"res/splash/Default-568h@2x~iphone.png":
"platforms/ios/YourAppName/Resources/splash/Default-568h@2x~iphone.png"
}, {
"res/splash/Default~iphone.png":
"platforms/ios/YourAppName/Resources/splash/Default~iphone.png"
}, {
"res/splash/Default-Portrait~ipad.png":
"platforms/ios/YourAppName/Resources/splash/Default-Portrait~ipad.png"
}, {
"res/splash/Default-Portrait@2x~ipad.png":
"platforms/ios/YourAppName/Resources/splash/Default-Portrait@2x~ipad.png"
}, ];

var fs = require('fs');
var path = require('path');

// no need to configure below
var rootdir = process.argv[2];

filestocopy.forEach(function(obj) {
Object.keys(obj).forEach(function(key) {
var val = obj[key];
var srcfile = path.join(rootdir, key);
var destfile = path.join(rootdir, val);
//console.log("copying "+srcfile+" to "+destfile);
var destdir = path.dirname(destfile);
if (fs.existsSync(srcfile) && fs.existsSync(destdir)) {
fs.createReadStream(srcfile).pipe(
fs.createWriteStream(destfile));
}
});
});
46 changes: 35 additions & 11 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Ubicla
![alt text](http://bicis.mecabotware.com/logo.svg "Ubicla")

[![Stories in Ready](https://badge.waffle.io/mecabotware/ubicla.png?label=ready&title=Ready)](https://waffle.io/mecabotware/ubicla)
======

Ubicla es el front-end de una aplicación web exportable a dispositivos móviles que provee información valiosa para ciclistas.
Ubicla está basada en [Ionic Framework](http://ionicframework.com/)

##Dependencias

Expand All @@ -11,6 +12,7 @@ $ npm install -g cordova ionic
```

##Instalación / Configuración
###En el navegador
- Clona el proyecto
- Corre un servidor HTTP en la carpeta www

Expand All @@ -21,8 +23,18 @@ python -m SimpleHTTPServer
```

###En tu dispositivo
Sobre la raíz del proyecto ejecuta

```
ionic platform [plataforma]
ionic run [plataforma]
```
Por el momento las plataformas soportadas son `android` y `ios`

##Screenshots
Sección opcional. Añadir algunas capturas interesantes de su proyecto. Muy recomendable.
![alt text](http://bicis.mecabotware.com/u1.png "Ubicla Inicio")
![alt text](http://bicis.mecabotware.com/u2.png "Ubicla Mapa")

##Demo
####[Demo](http://mecabotware.github.io/Ubicla)
Expand All @@ -33,21 +45,33 @@ página de [issues/problemas] (https://github.com/mecabotware/ubicla/issues).

##¿Utilizando nuestro código? Nos encantaría saber
Dado que este proyecto se hizo para el beneficio social a través de Open Data Puebla y Mecabotware nos gustaría saber el impacto que se puede generar.
Por eso te invitamos a que compartas la URL y algunos screenshots de tu aplicación a: <[email protected]>
Por eso te invitamos a que compartas la URL y algunos screenshots de tu aplicación a: <[email protected]> y a <[email protected]>

##Desarrollo
Ubicla está basada en [Ionic Framework](http://ionicframework.com/) que a su vez está basado en [AngularJS](https://angularjs.org/) y [Apache Cordova](http://cordova.apache.org/). Utilizamos [OpenStreetMap](http://www.openstreetmap.org/#map=5/23.944/-102.579) como servidor de mapas y [Leaflet](http://leafletjs.com/) para manejarlos mediante [angular-leaflet-directive](http://tombatossals.github.io/angular-leaflet-directive/#!/). Los datos de los marcadores los obtenemos mediante la [API de Foursquare](https://developer.foursquare.com/).

##Contribuye
Te invitamos a que partucipes en el desarrollo de este proyecto, entra a la página de [issues/problemas] (https://github.com/mecabotware/ubicla/issues)
donde estamos discutiendo el desarrollo de nuevas funcionalidades y donde puedes tomar una tarea pendiente por hacer.

##Core Team
Este proyecto es una iniciativa de Open Data Puebla, evento organizado por el capítulo de [Hackers and Founders Puebla](http://www.hfpuebla.org).
El core team:
- [Hugo Aguirre](https://github.com/bul-ikana)
- [Noé Domínguez](https://github.com/poguez)
El objetivo en un futuro cercano es construir un backend para nuestra aplicación e integrar el conocimiento de más colectivos ciclistas. SI tienes alguna idea no dudes en escribirnos.

##Licencia
_Available under the license: GNU Affero General Public License (AGPL) v3.0. Read the document [LICENSE](/LICENSE) for more information_

Creado por [Mecabotware](http://www.codeandomexico.org) y la comunidad del [capítulo de Hackers and Founders Puebla](http://www.hfpuebla.org), 2013.
##Equipo
Ubicla es un proyecto liderado por [Mecabotware](http://mecabotware.com), desarrollado como un proyecto de [Open Data Puebla](http://puebla.codeandomexico.org/) por una iniciativa del colectivo [Bicionudos](http://bicionudos.com/) y amorosamente mantenido por la comunidad del capítulo de [Hackers and Founders Puebla](http://www.hfpuebla.org)

Nuestro core team:
- [Hugo Aguirre](https://github.com/bul-ikana)
- [Edson Cortés](https://github.com/edmodj)
- [Noé Domínguez](https://github.com/poguez)


![alt text](http://bicis.mecabotware.com/mecabotware.svg "Mecabotware")

![alt text](http://bicis.mecabotware.com/hf.svg "HF")

![alt text](http://bicis.mecabotware.com/opendata.svg "OpenData")

![alt text](http://hfpuebla.org/logo-small.png "Hackers and Founders Puebla")
![alt text](http://bicis.mecabotware.com/Bicionudos.png "Bicionudos")
Binary file added res/icon/android/icon-36-ldpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/android/icon-48-mdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/android/icon-72-hdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/android/icon-96-xhdpi.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added res/icon/ios/icon-57-2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/ios/icon-57.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/ios/icon-72-2x.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/icon/ios/icon-72.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added res/screen/android/screen-hdpi-landscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/screen/android/screen-hdpi-portrait.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added res/screen/android/screen-ldpi-landscape.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes
Binary file added res/screen/ios/screen-ipad-landscape-2x.png
Binary file added res/screen/ios/screen-ipad-landscape.png
Binary file added res/screen/ios/screen-ipad-portrait-2x.png
Binary file added res/screen/ios/screen-ipad-portrait.png
Binary file added res/screen/ios/screen-iphone-landscape-2x.png
Binary file added res/screen/ios/screen-iphone-landscape.png
Binary file added res/screen/ios/screen-iphone-portrait-2x.png
Binary file added res/screen/ios/screen-iphone-portrait-568h-2x.png
Binary file added res/screen/ios/screen-iphone-portrait.png
File renamed without changes.
File renamed without changes
22 changes: 22 additions & 0 deletions www/css/style.css
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
.scroll {
height: 100%;
}

.logo {
margin: 30px;
max-width: 100%;
max-height: 90px;
}

.partner {
margin: 20px;
max-width: 100%;
max-height: 200px;
}

img.center{
display: block;
margin-left: auto;
margin-right: auto;
}

h3 {
text-align: center;
}
Binary file added www/img/Bicionudos.png
95 changes: 95 additions & 0 deletions www/img/hf.svg
Loading

0 comments on commit 06acef6

Please sign in to comment.