Giter Site home page Giter Site logo

jawwad007 / woocommerce-ios Goto Github PK

View Code? Open in Web Editor NEW

This project forked from woocommerce/woocommerce-ios

0.0 1.0 0.0 95.76 MB

WooCommerce iOS app

Home Page: https://www.woocommerce.com/mobile

License: GNU General Public License v2.0

Ruby 0.54% Swift 98.83% Objective-C 0.02% Smarty 0.02% Shell 0.11% C 0.01% Python 0.05% HTML 0.03% CSS 0.38%

woocommerce-ios's Introduction


for iOS

A Jetpack-powered companion app for WooCommerce.

CircleCI Reviewed by Hound

Build InstructionsDocumentationContributingAutomationSecurityNeed Help?ResourcesLicense

🎉 Build Instructions

  1. Download Xcode

    At the moment WooCommerce for iOS uses Swift 5 and requires Xcode 12 or newer. Previous versions of Xcode can be downloaded from Apple.

  2. Install Ruby. We recommend using rbenv to install it. Please refer to the .ruby-version file for the required Ruby version.

    We use Ruby to manage the third party dependencies and other tools and automation.

  3. Clone project in the folder of your preference

    git clone https://github.com/woocommerce/woocommerce-ios.git
  4. Enter the project directory

    cd woocommerce-ios
  5. Install the third party dependencies and tools required to run the project.

    bundle install && bundle exec rake dependencies

    This command installs the required tools like CocoaPods. And then it installs the iOS project dependencies using CocoaPods.

  6. Open the project by double clicking on WooCommerce.xcworkspace file, or launching Xcode and choose File > Open and browse to WooCommerce.xcworkspace

Credentials for External Contributors

In order to login to WordPress.com using the app:

  1. Create a WordPress.com account (if you don't already have one).

  2. Create a new developer application here.

  3. Set "Website URL" = http://www.wordpress.com, "Redirect URLs" = https://localhost, "Javascript Origins" = https://localhost and "Type" = Native and click Create. On the next page, click Update.

  4. Copy the Client ID and Client Secret from the OAuth Information.

  5. Build the app. A file named ApiCredentials.swift should be generated.

  6. Navigate to the generated WooCommerce/DerivedSources/ApiCredentials.swift file.

  7. Fill in the dotcomAppId with the Client ID.

  8. Fill in the dotcomSecret with the Client Secret.

  9. Recompile and run the app on a device or inside simulator.

Please, remember to not add this information on your commits and PRs.

📚 Documentation

👏 Contributing

Read our Contributing Guide to learn about reporting issues, contributing code, and more ways to contribute.

🤖 Automation

Peril

The woocommerce-ios project uses Peril to enforce Pull Request guidelines.

Circle CI

The woocommerce-ios project uses Circle CI for continuous integration.

🔐 Security

If you happen to find a security vulnerability, we would appreciate you letting us know at https://hackerone.com/automattic and allowing us to respond before disclosing the issue publicly.

🦮 Need Help?

You can find the WooCommerce usage docs here: docs.woocommerce.com

General usage and development questions:

🔗 Resources

📜 License

WooCommerce for iOS is an Open Source project covered by the GNU General Public License version 2.



Made with 💜 by WooCommerce.
We're hiring! Come work with us!

woocommerce-ios's People

Contributors

jaclync avatar pmusolino avatar ctarda avatar ecarrion avatar shiki avatar mindgraffiti avatar itsmeichigo avatar jleandroperez avatar rachelmcr avatar bummytime avatar jkmassel avatar allendav avatar ealeksandrov avatar loremattei avatar koke avatar joshheald avatar alisoftware avatar jtreanor avatar astralbodies avatar mokagio avatar oguzkocer avatar dvdchr avatar thomazfb avatar caiobzen avatar fernandofgfer avatar eshurakov avatar csknns avatar partho-maple avatar thehenrybyrd avatar jostnes avatar

Watchers

 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.