0.2.26 • Published 6 years ago

altizure-earth-apis v0.2.26

Weekly downloads
2
License
ISC
Repository
bitbucket
Last release
6 years ago

README

Altizure Earth APIs (AEA) is for developping interactive 3D earth applications.

What is this repository for?

How do I get set up?

  • Dependencies

    1. nodejs
    2. yarn v0.27.5
  • Setup

    1. Clone the repository

      git clone https://bitbucket.org/jingbo/altizure-earth-apis/

    2. Install npm modules

      cd altizure-earth-apis

      yarn

    3. Compile

      gulp release

    4. Edit source files, and generate Documentation (to .\docs\user_docs\<en_US|zh_CN>\web\index.html)

      gulp docs-<enUS|zhCN>

Dependencies

Becasue npm>5.1.0 is not behaving expectedly (It updates package-lock.json file every time 'npm i' is performed.), we are switching to yarn.

  1. install yarn globally

  2. Remove package-lock.json file and node_modules folder (if there is any) under the repo directory. Note: keep the package.json file.

  3. pull from git to update the yarn.lock file.

  4. Run yarn. You will see node_modules generated.

    yarn
  • Use yarn add (--dev) to add new modules

    yarn add package-name@1.2.3
  • To update dependencies, simply run

    yarn

Setup sdk.examples

  1. Fork https://bitbucket.org/jingbo/altizure.sdk.examples/

  2. Git clone https://bitbucket.org/<YOUR_NAME>/altizure.sdk.examples/ to the same directory of this repo.

+-- parent
|   +-- altizure-earth-apis
|   +-- altizure.sdk.examples
  1. Under this repo,
cd altizure-earth-apis

create a symbolic link named sdk.examples pointing to ../altizure.sdk.examples. e.g. for linux,

ln -s ../altizure.sdk.examples/ sdk.examples
  1. Edit files in ./src or ./sdk.examples. Then use gulp build to copy the compiled altizure.js file to ./sdk.examples/build/.

  2. Setup server under ./sdk.examples. Then you can check results through browswer http://127.0.0.1:8000/examples.sdk.debug.html

python -m SimpleHTTPServer 8000
  1. To commit changes on sdk.examples, create a pull request to https://bitbucket.org/jingbo/altizure.sdk.examples/.

  2. More information please refer to https://bitbucket.org/jingbo/altizure.sdk.examples/overview

Visualize Code Structure

yarn struct

Translate en_US docs to zh_CN

  1. Make sure you have the key for google translation at /docs/COMP4901J-eff6a4fb6651.json

  2. Setup sdk.examples (see instruction above)

  3. Fork https://bitbucket.org/fengyee/translate_docs/

  4. Git clone https://bitbucket.org/<YOUR_NAME>/translate_docs/ to the same directory of this repo.

+-- parent
|   +-- altizure-earth-apis
|   +-- altizure.sdk.examples
|   +-- translate_docs
  1. Execute the bash script under the parent node
cd translate_docs && yarn && cd ../altizure-earth-apis
  1. Execute the bash script under the repo altizure-earth-apis
export GOOGLE_APPLICATION_CREDENTIALS=$(pwd)'/docs/COMP4901J-eff6a4fb6651.json'
yarn setup-translator && yarn translate

Who do I talk to?

0.2.26

6 years ago

0.2.25

6 years ago

0.2.24

6 years ago

0.2.23

6 years ago

0.2.22

6 years ago

0.2.21

6 years ago

0.2.20

6 years ago

0.2.19

6 years ago

0.2.18

6 years ago

0.2.17

6 years ago

0.2.16

6 years ago

0.2.15

6 years ago

0.2.14

6 years ago

0.2.13

6 years ago

0.2.12

6 years ago

0.2.11

6 years ago

0.2.10

6 years ago

0.2.9

6 years ago

0.2.8

6 years ago

0.2.7

6 years ago

0.2.6

6 years ago

0.2.5

6 years ago

0.2.4

6 years ago

0.2.3

6 years ago

0.2.2

6 years ago

0.2.1

6 years ago

0.2.0

6 years ago

0.1.67

6 years ago

0.1.66

6 years ago

0.1.65

6 years ago

0.1.64

6 years ago

0.1.63

6 years ago

0.1.62

6 years ago

0.1.61

6 years ago

0.1.60

6 years ago

0.1.59

6 years ago

0.1.58

6 years ago

0.1.57

6 years ago

0.1.56

6 years ago

0.1.55

6 years ago

0.1.54

6 years ago

0.1.53

6 years ago

0.1.52

6 years ago

0.1.51

6 years ago

0.1.50

6 years ago

0.1.49

6 years ago

0.1.48

6 years ago

0.1.47

6 years ago

0.1.46

6 years ago

0.1.45

6 years ago

0.1.44

6 years ago

0.1.43

6 years ago

0.1.42

6 years ago

0.1.41

6 years ago

0.1.40

6 years ago

0.1.39

6 years ago

0.1.38

6 years ago

0.1.37

6 years ago

0.1.36

6 years ago

0.1.35

6 years ago

0.1.34

6 years ago

0.1.33

6 years ago

0.1.32

6 years ago

0.1.31

6 years ago

0.1.30

6 years ago

0.1.29

6 years ago

0.1.28

6 years ago

0.1.27

6 years ago

0.1.26

6 years ago

0.1.25

6 years ago

0.1.24

7 years ago

0.1.23

7 years ago

0.1.22

7 years ago

0.1.21

7 years ago

0.1.20

7 years ago

0.1.19

7 years ago

0.1.18

7 years ago

0.1.17

7 years ago

0.1.16

7 years ago

0.1.15

7 years ago

0.1.14

7 years ago

0.1.13

7 years ago

0.1.12

7 years ago

0.1.11

7 years ago

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

7 years ago

0.1.5

7 years ago

0.1.4

7 years ago

0.1.3

7 years ago

0.1.2

7 years ago

0.1.1

7 years ago

0.1.0

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago