Skip to content
This repository has been archived by the owner on Dec 25, 2024. It is now read-only.

Commit

Permalink
Change project structure to Cordova
Browse files Browse the repository at this point in the history
  • Loading branch information
argelius committed Jul 4, 2016
1 parent 61401ae commit 93d1e58
Show file tree
Hide file tree
Showing 527 changed files with 69,886 additions and 36,924 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,7 @@ node_modules

# Optional REPL history
.node_repl_history

# Cordova files
platforms
plugins
19 changes: 7 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,30 +29,25 @@ You can build it using Cordova.
npm install -g cordova
```

- [Create another project for Cordova](https://cordova.apache.org/docs/en/latest/guide/cli/index.html#create-the-app)
You need to build the project:

```
cordova create <MY-APP-NAME>
npm run build
```

- Copy the content of `dist` folder to `wwww` in your Cordova project.

- [Add Platforms](https://cordova.apache.org/docs/en/latest/guide/cli/index.html#add-platforms):
Add a platform to run it on a device or emulator. For Android:

```
cordova platform add android --save
cordova platform add android
cordova run android
```

- [Build for your platform](https://cordova.apache.org/docs/en/latest/guide/cli/index.html#build-the-app)

```
cordova build android
```
This assumes that you have the Android SDK installed.

## Contributing

1. Fork it ( https://github.com/argelius/react-onsenui-redux-weather/fork )
2. Create your feature branch (`git checkout -b my-new-feature`)
3. Commit your changes (`git commit -am 'Add some feature'`)
4. Push to the branch (`git push origin my-new-feature`)
5. Create new Pull Request
5. Create new Pull Request
26 changes: 26 additions & 0 deletions config.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version='1.0' encoding='utf-8'?>
<widget id="io.onsen.weather" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">
<name>OnsenWeather</name>
<description>
A sample Apache Cordova application that responds to the deviceready event.
</description>
<author email="[email protected]" href="http://cordova.io">
Apache Cordova Team
</author>
<content src="index.html" />
<plugin name="cordova-plugin-whitelist" spec="1" />
<access origin="*" />
<allow-intent href="http://*/*" />
<allow-intent href="https://*/*" />
<allow-intent href="tel:*" />
<allow-intent href="sms:*" />
<allow-intent href="mailto:*" />
<allow-intent href="geo:*" />
<platform name="android">
<allow-intent href="market:*" />
</platform>
<platform name="ios">
<allow-intent href="itms:*" />
<allow-intent href="itms-apps:*" />
</platform>
</widget>
21 changes: 0 additions & 21 deletions dist/000f27295afbecaa7242c0fdc5d72856.svg

This file was deleted.

7 changes: 0 additions & 7 deletions dist/006c84d4d10f1e385d64e6157d576e70.svg

This file was deleted.

15 changes: 0 additions & 15 deletions dist/00947325a69e9ceb121bd68db7c731a1.svg

This file was deleted.

16 changes: 0 additions & 16 deletions dist/009766529c2c4ee426e6fe0067d24262.svg

This file was deleted.

27 changes: 0 additions & 27 deletions dist/00a1084f1f03a851bfd11c0e5479e283.svg

This file was deleted.

7 changes: 0 additions & 7 deletions dist/010b33d21943b7efdd61a54cba7e0c64.svg

This file was deleted.

13 changes: 0 additions & 13 deletions dist/0168e01e9ad2f30b3d905380a3582aee.svg

This file was deleted.

16 changes: 0 additions & 16 deletions dist/01bddff94c5f00efb6138e47def4fc4f.svg

This file was deleted.

7 changes: 0 additions & 7 deletions dist/027fddb4ab18a2891b0eeabc9aff4a99.svg

This file was deleted.

Loading

0 comments on commit 93d1e58

Please sign in to comment.