mirror of
https://github.com/google/pebble.git
synced 2025-05-22 19:34:51 +00:00
Import the pebble dev site into devsite/
This commit is contained in:
parent
3b92768480
commit
527858cf4c
1359 changed files with 265431 additions and 0 deletions
51
devsite/source/sdk/install/index.md
Normal file
51
devsite/source/sdk/install/index.md
Normal file
|
@ -0,0 +1,51 @@
|
|||
---
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
layout: sdk/markdown
|
||||
menu_subsection: install
|
||||
title: Installing the Pebble SDK
|
||||
---
|
||||
|
||||
## Develop Online
|
||||
|
||||
You can use [CloudPebble]({{ site.links.cloudpebble }}) to build, compile
|
||||
and test Pebble apps entirely in the cloud without any installation needed.
|
||||
|
||||
## Install Through Homebrew
|
||||
|
||||
We recommend Mac OS X users [install the SDK using Homebrew](/sdk/download).
|
||||
|
||||
## Manual Installation
|
||||
|
||||
Once you have [downloaded the Pebble SDK](/sdk/download/), you will need to
|
||||
follow the instructions for your platform.
|
||||
|
||||
## [Mac OS X](/sdk/install/mac/) | [Linux](/sdk/install/linux/) | [Windows](/sdk/install/windows/)
|
||||
|
||||
### Problems Installing?
|
||||
|
||||
If you need help installing the SDK, feel free to post your comments in the
|
||||
[SDK Installation Help forum][sdk-install-help]. Please make sure you
|
||||
provide as many details as you can about the issues
|
||||
you may have encountered.
|
||||
|
||||
**Tip:** Copying and pasting commands from your Terminal output will help a great deal.
|
||||
|
||||
### What's Next?
|
||||
|
||||
Once you have installed the Pebble SDK, you should check out our
|
||||
[Tutorials](/tutorials/) section to learn the basics of Pebble development.
|
||||
|
||||
[sdk-install-help]: https://forums.getpebble.com/categories/sdk-install/
|
54
devsite/source/sdk/install/linux.md
Normal file
54
devsite/source/sdk/install/linux.md
Normal file
|
@ -0,0 +1,54 @@
|
|||
---
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
layout: sdk/markdown
|
||||
title: Installing the Pebble SDK on Linux
|
||||
description: Detailed installation instructions for the Pebble SDK on Linux.
|
||||
menu_subsection: install
|
||||
menu_platform: linux
|
||||
generate_toc: true
|
||||
permalink: /sdk/install/linux/
|
||||
---
|
||||
|
||||
> **Important**: The Pebble SDK is officially supported on
|
||||
> Ubuntu GNU/Linux 12.04 LTS, Ubuntu 13.04, Ubuntu 13.10 and Ubuntu 14.04 LTS.
|
||||
>
|
||||
> The SDK should also work on other distributions with minor adjustments.
|
||||
>
|
||||
> **Python version**: the Pebble SDK requires Python 2.7. At this time, the
|
||||
> Pebble SDK is not compatible with Python 3. However, some newer
|
||||
> distributions come with both Python 2.7 and Python 3 installed, which can
|
||||
> cause problems. You can use </br>`python --version` to determine which is being
|
||||
> used. This means you may need to run `pip2` instead of `pip` when prompted to
|
||||
> do so below.
|
||||
|
||||
## Download and install the Pebble SDK
|
||||
|
||||
{% include sdk/steps_install_sdk.md mac=false %}
|
||||
|
||||
{% include sdk/steps_python.md mac=false %}
|
||||
|
||||
## Install Pebble emulator dependencies
|
||||
|
||||
The Pebble emulator requires some libraries that you may not have installed on
|
||||
your system.
|
||||
|
||||
```bash
|
||||
sudo apt-get install libsdl1.2debian libfdt1 libpixman-1-0
|
||||
```
|
||||
|
||||
{% include sdk/steps_getting_started.md %}
|
||||
|
||||
{% include sdk/steps_help.md %}
|
79
devsite/source/sdk/install/macosx.md
Normal file
79
devsite/source/sdk/install/macosx.md
Normal file
|
@ -0,0 +1,79 @@
|
|||
---
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
layout: sdk/markdown
|
||||
title: Installing the Pebble SDK on Mac OS X
|
||||
description: Detailed installation instructions for the Pebble SDK on Mac OS X.
|
||||
menu_subsection: install
|
||||
menu_platform: mac
|
||||
generate_toc: true
|
||||
permalink: /sdk/install/mac/
|
||||
---
|
||||
|
||||
These are the manual installation instructions for installing the Pebble SDK
|
||||
from a download bundle. We recommend you
|
||||
[install the SDK using Homebrew](/sdk/download) instead, if possible.
|
||||
|
||||
### Compatibility
|
||||
|
||||
> **Python version**: the Pebble SDK requires Python 2.7. At this time, the
|
||||
> Pebble SDK is not compatible with Python 3. However, some newer
|
||||
> distributions come with both Python 2.7 and Python 3 installed, which can
|
||||
> cause problems. You can use </br>`python --version` to determine which is being
|
||||
> used. This means you may need to run `pip2` instead of `pip` when prompted to
|
||||
> do so below.
|
||||
|
||||
### Download and install the Pebble SDK
|
||||
|
||||
1. Install the [Xcode Command Line Tools][xcode-command-line-tools] from
|
||||
Apple if you do not have them already.
|
||||
|
||||
{% include sdk/steps_install_sdk.md mac=true %}
|
||||
|
||||
{% include sdk/steps_python.md mac=true %}
|
||||
|
||||
### Pebble SDK, fonts and freetype
|
||||
|
||||
To manipulate and generate fonts, the Pebble SDK requires the freetype library.
|
||||
If you intend to use custom fonts in your apps, please use
|
||||
[homebrew][homebrew-install] to install the freetype library.
|
||||
|
||||
```bash
|
||||
brew install freetype
|
||||
```
|
||||
|
||||
### Install Pebble emulator dependencies
|
||||
|
||||
The Pebble emulator requires some libraries that you may not have installed on
|
||||
your system.
|
||||
|
||||
The easiest way to install these dependencies is to use [homebrew][homebrew-install].
|
||||
|
||||
```bash
|
||||
brew update
|
||||
brew install boost-python
|
||||
brew install glib
|
||||
brew install pixman
|
||||
```
|
||||
|
||||
> If you have installed Python using Homebrew, you **must** install boost-python
|
||||
> from source. You can do that with `brew install boost-python --build-from-source` .
|
||||
|
||||
{% include sdk/steps_getting_started.md %}
|
||||
|
||||
{% include sdk/steps_help.md %}
|
||||
|
||||
[xcode-command-line-tools]: https://developer.apple.com/downloads/
|
||||
[homebrew-install]: http://brew.sh/
|
60
devsite/source/sdk/install/windows.md
Normal file
60
devsite/source/sdk/install/windows.md
Normal file
|
@ -0,0 +1,60 @@
|
|||
---
|
||||
# Copyright 2025 Google LLC
|
||||
#
|
||||
# Licensed under the Apache License, Version 2.0 (the "License");
|
||||
# you may not use this file except in compliance with the License.
|
||||
# You may obtain a copy of the License at
|
||||
#
|
||||
# http://www.apache.org/licenses/LICENSE-2.0
|
||||
#
|
||||
# Unless required by applicable law or agreed to in writing, software
|
||||
# distributed under the License is distributed on an "AS IS" BASIS,
|
||||
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
# See the License for the specific language governing permissions and
|
||||
# limitations under the License.
|
||||
|
||||
layout: sdk/markdown
|
||||
title: Installing the Pebble SDK on Windows
|
||||
description: Detailed installation instructions for the Pebble SDK on Windows.
|
||||
menu_subsection: install
|
||||
menu_platform: windows
|
||||
generate_toc: true
|
||||
permalink: /sdk/install/windows/
|
||||
---
|
||||
|
||||
Installing the Pebble SDK on Windows is not officially supported at this time.
|
||||
|
||||
However, you can choose from several alternative strategies to develop
|
||||
watchfaces and watchapps on Windows.
|
||||
|
||||
## Use CloudPebble
|
||||
|
||||
[CloudPebble][cloudpebble] is the official online development environment for
|
||||
writing Pebble apps.
|
||||
|
||||
It allows you to create, edit, build and distribute applications in your web
|
||||
browser without installing anything on your computer.
|
||||
|
||||
**Pebble strongly recommends [CloudPebble][cloudpebble] for Windows users.**
|
||||
|
||||
## Use a Virtual Machine
|
||||
|
||||
You can also download and run the Pebble SDK in a virtual machine.
|
||||
|
||||
1. Install a virtual machine manager such as
|
||||
[VirtualBox](http://www.virtualbox.org) (free) or
|
||||
[VMWare Workstation](http://www.vmware.com/products/workstation/).
|
||||
2. Install [Ubuntu Linux](http://www.ubuntu.com/) in a virtual machine.
|
||||
3. Follow the standard [Linux installation instructions](/sdk/install/linux/).
|
||||
|
||||
|
||||
## Need installation help?
|
||||
|
||||
If you need help installing the SDK, feel free to post in the
|
||||
[SDK Installation Help forum][sdk-install-help].
|
||||
|
||||
Please make sure you provide as many details as you can about the issue you have
|
||||
encountered (copy/pasting your terminal output will help a lot).
|
||||
|
||||
[cloudpebble]: {{ site.links.cloudpebble }}
|
||||
[sdk-install-help]: https://forums.getpebble.com/categories/sdk-install/
|
Loading…
Add table
Add a link
Reference in a new issue