aws-mobile-react-native-starter
AWS Mobile React Native Starter App https://aws.amazon.com/mobile
파일 탐색기
최종 버전 다운로드 (.zip)- settings.json
- reactnative-starter.zip
- app.js
- index.js
- package-lock.json
- package.json
- README.md
- mobile-hub-project.yml
- package.json
- Butler-Black.ttf
- Butler-Bold.ttf
- Butler-ExtraBold.ttf
- Entypo.ttf
- EvilIcons.ttf
- fontawesome-webfont.ttf
- FontAwesome.ttf
- Foundation.ttf
- Ionicons.ttf
- Lato-Bold.ttf
- Lato-Hairline.ttf
- Lato-Italic.ttf
- Lato-Light.ttf
- Lato-Regular.ttf
- MaterialCommunityIcons.ttf
- MaterialIcons.ttf
- Montserrat-ExtraLight.ttf
- Montserrat-Italic.ttf
- Montserrat-Light.ttf
- Montserrat-Medium.ttf
- Montserrat-Regular.ttf
- Octicons.ttf
- SimpleLineIcons.ttf
- Zocial.ttf
- MainActivity.java
- MainApplication.java
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- ic_launcher.png
- strings.xml
- styles.xml
- AndroidManifest.xml
- BUCK
- build.gradle
- proguard-rules.pro
- gradle-wrapper.jar
- gradle-wrapper.properties
- BUCK
- debug.keystore.properties
- build.gradle
- gradle.properties
- gradlew
- gradlew.bat
- settings.gradle
- Butler-Black.ttf
- Butler-Bold.ttf
- Butler-ExtraBold.ttf
- Entypo.ttf
- EvilIcons.ttf
- fontawesome-webfont.ttf
- FontAwesome.ttf
- Foundation.ttf
- Ionicons.ttf
- Lato-Bold.ttf
- Lato-Hairline.ttf
- Lato-Italic.ttf
- Lato-Light.ttf
- Lato-Regular.ttf
- MaterialCommunityIcons.ttf
- MaterialIcons.ttf
- Montserrat-ExtraLight.ttf
- Montserrat-Italic.ttf
- Montserrat-Light.ttf
- Montserrat-Medium.ttf
- Montserrat-Regular.ttf
- Octicons.ttf
- SimpleLineIcons.ttf
- Zocial.ttf
- profileicon.png
- puppy.png
- LaunchScreen.xib
- Contents.json
- AppDelegate.h
- AppDelegate.m
- Info.plist
- main.m
- Info.plist
- Info.plist
- awsmobilereactnativesample-tvOS.xcscheme
- awsmobilereactnativesample.xcscheme
- project.pbxproj
- awsmobilereactnativesampleTests.m
- Info.plist
- index.js
- SignIn.js
- SignUp.js
- styles.js
- index.js
- MFAPrompt.js
- WithAuth.js
- index.js
- LocalStorage.js
- DatePicker.android.js
- DatePicker.ios.js
- ForgotPassword.js
- LogIn.js
- SideMenuIcon.js
- SignOut.js
- SignUp.js
- UploadPhoto.js
- AddPet.js
- First.js
- Home.js
- Splash.js
- ViewPet.js
- constants.js
- files.js
- theme.js
- .eslintrc.js
- .flowconfig
- .watchmanconfig
- App.js
- app.json
- index.android.js
- index.ios.js
- jsconfig.json
- package.json
- architecture.png
- console.gif
- Nadia1.png
- Nadia2.png
- .gitignore
- LICENSE
- NOTICE
- README.md
- README_ES.md
# 설치 가이드
1. 코드 내려받기
git clone https://github.com/amazon-archives/aws-mobile-react-native-starter
깃허브에서 프로젝트 코드 전체를 내 컴퓨터로 내려받습니다.
cd aws-mobile-react-native-starter
방금 내려받은 프로젝트 폴더 안으로 이동합니다.
2. Gradle (Java/Kotlin)
보통 추천사전 준비물
- Git GitHub에서 프로젝트 코드를 내려받으려면 필요합니다.
- JDK (Java) Java/Kotlin 프로젝트를 빌드/실행하려면 필요합니다.
- Gradle 레포에 포함된 gradlew(Gradle Wrapper)를 쓰면 Gradle을 따로 설치할 필요가 없습니다.
⚠️ 이 프로젝트는 규모가 큰 저장소라, 이 방법이 실제 핵심 제품이 아니라 내부 하위 패키지를 가리키는 것일 수 있습니다. README 전체를 함께 확인해보세요.
cd client/android/app
이 프로젝트의 관련 파일이 하위 폴더 안에 있어서, 먼저 그 폴더로 이동합니다.
./gradlew build
Gradle로 빌드를 진행합니다.
BUILD SUCCESSFUL 메시지가 뜨면 성공입니다. build/ 폴더에 결과물이 생성됩니다.
3. Node.js
쉬움사전 준비물
$ npm install
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
$ npm run ios #npm run android
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm run eject # Eject as "React Native"
이 명령어를 터미널에 그대로 입력해 실행하세요.
npm install aws-amplify --save
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
npm install aws-amplify-react-native --save
package.json에 명시된 라이브러리들을 내려받아 설치합니다.
명령어 실행 후 터미널에 나타나는 주소(보통 http://localhost:3000 형태)를 브라우저에서 열어보세요.
이 레포의 README에 적힌 실제 명령어를 그대로 가져왔습니다.
// repository documentation
Was this content helpful?
(0 ratings)
