React, React-Native Framework์ธ Actbase์ ๋์์ ์ฃผ๋ CLI์ ๋๋ค.
ํด๋น CLI๋ฅผ ํตํด boilerplate ๋ฐ i18n์ค์ ์ ํ ์ ์์ต๋๋ค.
$ npm i -g actbase-cli$ actbase init [Project name]์ธ์ดํฉ์ xls, csv, Google Spreadsheet ๋ฅผ ์ง์ํฉ๋๋ค.
Google Spreadsheet๋ฅผ ์ฌ์ฉํ๋ ค๋ฉด ํ๋จ์ URL์ ์ฐธ๊ณ ํ์ธ์.
https://www.freecodecamp.org/news/cjn-google-sheets-as-json-endpoint/
$ actbase i18nappcenter์ ์ฝ๋ํธ์๋ฅผ ์๋์ผ๋ก ์ค์ ํด ์ค๋๋ค.
์ฐ์ package.json์ ์ค์ ์ด ๋์ด์์ด์ผ ํฉ๋๋ค.
{
"name": "testname",
"version": "0.0.1",
"private": true,
"appcenter_ios": "[ios appcenter key (ex : org/name) ]",
"appcenter_and": "[android appcenter key (ex : org/name) ]",
}$ actbase codepush์ดํ ์ ํ ์ด ์๋ฃ๋๋ฉด ๊ฐ๋จํ๊ฒ npm run codepush-ios / npm run codepush-and ๋ฅผ ํตํด ์ฝ๋ํธ์ ์ฒ๋ฆฌ๋ฅผ ํ ์ ์์ต๋๋ค.