This is a prototype webapp/app for filmy profiles.
- This project uses the following technologies:
- Docker
- ReactJS
-
Clone this repo.
-
Install
Visual Studio CodeIDE for development. -
Install
ESlint ^2.1.13visual studio code extension. -
Install
Dockervisual studio extension to work with Dockerfiles -
Install
Remote - Containersvisual studio extension to work with visual studio code for docker containers. -
Install Docker Desktop in your local system. (Then, make sure docker is running and docker cli is working)
-
Run
docker pull sushabhardy/fp-feto pull latest image. -
Run
docker tag sushabhardy/fp-fe fp-fe_fp-feto clone image. -
Run
docker-compose upto start the server. -
Open
Dockerimage tab in the left status bar. -
You can see the container named
fp-fe_fp-ferunning. Right click that container and click onAttach Visual Studio Code. -
A new VSCode window will open. This is the VSCode running inside the container.
-
To debug the app, go to
Run -> Start Debugging. This will open a new chrome window. Changeurltohttp://localhost:8100in.vscode/launch.jsonand refresh the chrome window. -
You can add breakpoints and update code to see the debugger in the VSCode.
-
Install the ionic CLI globally:
npm install -g @ionic/cli -
Ensure
Android Emulator,Android SDK Build-Tools,Android SDK Platform-Tools,Android SDK Tools,Google Play ServicesandIntel x86 Emulator Accelerator (HAXM installer)are installed in Android Studio. -
Run
ionic integrations enable capacitorin a terminal from project root. -
Run
ionic capacitor add androidin a terminal from project root to add android to the project -
Run
ionic capacitor run androidin a terminal from project root to build the project and copy to android and run the android studio. -
Wait for gradle process to finish.
-
Once finished, choose the emulator and launch the app.
-
Once a code change is done, run
ionic capacitor run androidto see the updated app in emulator.
-
Install the ionic CLI globally:
npm install -g @ionic/cli -
Run
xcode-select --install -
Run
ionic capacitor add iosin a terminal from project root to add ios to the project -
Run
ionic capacitor run iosin a terminal from project root to open xcode
- Run
npm run lintto see if code style is followed and build passes. - Run
npm testfor to see if all tests pass.
- Checkout
masterbranch and change endpoints in.env.productionfile. - Create build by running
ionic build - Upload contents of
build/folder to AWS S3 bucket.