-
Notifications
You must be signed in to change notification settings - Fork 1
Technical Installation Manual
- This document serves as a technical installation manual describing all the installation guidelines, prerequisites and deployment of the SweatSession application, in order for the user to be able to run the application locally.
- The SweatSession app was developed as a social, location-based mobile app that will enable users to schedule workout sessions with their friends, track their progress, view their friends' personal bests, and earn rewards for achieving their fitness goals.
- In order for the user to run the SweatSession application, software such as Ionic , Angular and Node.js would have to be installed and configured.
Specific Computer Hardeware | Minimum Requirements |
CPU | Intel i5 / AMD Ryzen5 |
Memory | 8GB (or higher) |
Storage | 5GB Free Space |
-
Open your web browser
-
Go to the Node.js website: Node.js/website
-
Choose the LTS version
-
Download the Windows installer for the 64bit version
-
Run the installer
-
Open the terminal
-
Run the following command: sudo apt install nodejs
-
Open your web browser
-
Go to the Node.js website: Node.js/website
-
Choose the LTS version
-
Download the macOS installer for the 64bit version
-
Run the installer
Verify the installation by executing node -v

-
Open terminal
-
Run the command: npm install --global yarn
-
Open the terminal
-
Run the command: sudo apt install --no-install-recommends yarn
-
Open terminal
-
Run the command: brew install yarn
Verify the installation by executing yarn --version

-
Open the terminal
-
Run the following command: npm install -g @angular/cli
Verify the installation by executing ng version

-
Open the terminal
-
Run the following command: npm install -g @ionic/cli
Verify the installation by executing ionic -v

-
Add Firebase Project
- Go to Firebase Console, login with your Google Account, then click on Add Project.

- Enter Project name, set Project Id and click on Continue.

- Register App and get Firebase SDK.
- Now browser turns into following view:

- Click on Web App, screen will display:

- Set the nickname and choose Register App to proceed to the next step.

-
Open the terminal and run the following command to install firebase cli: npm install -g firebase-tools
-
Create a .env file and add the details from the firebase config in step 5. It should look like the picture below with the details filled completely:

-
A Github account is required as well as the latest version of Git
- Link :CreateGithubAccount
-
To install our app you will have to clone the SweatSession repository
- You can use your terminal or git bash using the git clone command: gh repo clone COS301-SE-2023/SweatSession
- First go to our repository on Github and copy our repository url: Github/SweatSession
- Then open the terminal or git bash on the folder you want to save the project and run the git command.
- Run the following command: yarn install

-
To run the project on Windows:
- Run the following command: ng serve
-
To run the project on Linux or Mac:
- Run the following command: yarn start
-
To access the app, open the browser of your choice to localhost:4200

-
The SweatSession app has been deployed using Firebase hosting.
-
Link to deployed app: SweatSession/App