Skip to content
This repository was archived by the owner on Sep 13, 2020. It is now read-only.

Commit 36b4ed1

Browse files
committed
Merge pull request #37 from ParsePlatform/stanleyw.add_partner_platform_instructions
add partner platform instructions
2 parents 376bc0a + a255acb commit 36b4ed1

File tree

1 file changed

+37
-0
lines changed

1 file changed

+37
-0
lines changed
Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
# Partner Platform Instructions
2+
3+
This document is for partner platform owners that want to make the Parse Embedded SDK run on their board. We are asking partners to do the following steps so that we can improve the developer experience and preserve the Git history for merging future updates. The original repo is https://github.com/ParsePlatform/parse-embedded-sdks.
4+
5+
* Partners should fork the repo under your own organization on GitHub.
6+
* Partners are responsible for managing your fork of the repo.
7+
* In the README of your repo fork
8+
* Please include a **quickstart guide** telling the developer how to get started on your board, including
9+
* saving an object
10+
* receiving a push notification
11+
* Please include the **developer support contact** for your board/platform.
12+
* Partners are responsible for responding to developer support questions for your board/platform in a timely manner.
13+
* Please try to reuse as much existing code as possible, and put your platform-specific code in its own directory. This makes it easier for you to pull in future changes from the upstream Parse repo.
14+
* Future updates
15+
* Parse may routinely update the https://github.com/ParsePlatform/parse-embedded-sdks repo with bug fixes and new features.
16+
* Partners are responsible for merging upstream changes into your own fork of the repo and testing that the final product actually works.
17+
* Partners can merge in upstream changes on your own schedule, but the partner's repo fork must have working code.
18+
* Please link to your repo fork in your product marketing materials.
19+
20+
## Setting up your GitHub repo fork
21+
22+
1. Fork the Parse Embedded SDKs repo at https://github.com/ParsePlatform/parse-embedded-sdks
23+
1. Please fork this repo to YOUR_ORGANIZATION/parse-embedded-sdks
24+
2. Add your platform-specific code
25+
1. RTOS-based platforms
26+
1. Add your platform-specific code and build script under the /YOUR_PLATFORM_NAME directory
27+
1. For example, see the existing cc3200 directory.
28+
2. Your code should reuse the shared code in the [/rtos](/rtos) directory.
29+
2. Unix-based platforms
30+
1. Add your code and build script under the /unix/YOUR_PLATFORM_NAME directory
31+
1. For example, see the existing [/unix/yun](/unix/yun) directory
32+
2. Your code should reuse the shared code in the [/unix/src](/unix/src) directory.
33+
3. Testing the SDK on your platform
34+
1. The SDK has 2 main functionalities. You should test that both works:
35+
1. Issuing REST API requests to Parse (saving objects, queries, Cloud Code calls, etc). Requests should also work with a user session token (e.g. fetching objects with ACL for that user). See the [Parse Embedded C Guide](https://www.parse.com/docs/embedded_c/guide) for more details.
36+
2. Registering and receiving push notifications from Parse.
37+
2. We've provided a set of basic tests under the [/unix/samples/test](/unix/samples/test) directory. You should make sure they pass for your platform.

0 commit comments

Comments
 (0)