This is an Ionic project that handles the front-end of the Set Designers application for Reel Ready. The application only has one user and is a prototype. Users can find products, add projects, create product placements, and send and receive requests to use products on set.
Before you begin, ensure you have the following installed:
- Node.js
- npm
- Ionic CLI (to install type: npm install -g @ionic/cli)
- Gradle (For mobile simulation)
- A modern web browser
Follow these steps to install the project:
-
Clone the repository:
git clone <repository-url>
-
Navigate to the project directory:
cd <project-directory>
-
Install the project dependencies:
npm install
-
Run the API:
Run the Backend API
-
Run the application:
ionic serve
-
Open your web browser and navigate to:
http://localhost:8100
You should see the application running in your browser. The web browser should also appear in the terminal.
-
Ensure Gradle is downloaded
Install at https://gradle.org/
-
Install Android Studio
-
Ensure the api link is set to a HTTPS request
This will require uploading the Backend API to a server. Then Under base_information.ts in the src folder change the url constant to equal the URL your API is hosted at. Keep the / at the end.
-
Build Ionic project
ionic build
-
Add the Android platform
npx cap add android
-
Open in android studio by running
npx cap open android
-
Run simulation
Command:
npx cap run android
Or run in android studio
Must require a mac (I don't have one so don't know if this will work)
-
Test on ios virtual machine
npx cap add ios
-
Open in Xcode
npx cap open ios
or
open ios/App/App.xcworkspace
-
Run ios app
npx cap run ios