Before you proceed with setting up the XFaaS dashboard, ensure the following prerequisites are met:
-
Git Installation:
- Confirm that Git is installed on your system. If not, download and install Git for your respective operating system from here.
-
Node.js Installation:
- Install the latest version of Node.js. Visit Node.js's official website for detailed instructions on installation.
-
AWS CLI and SDK Setup:
- Set up the AWS Command Line Interface (CLI) and AWS Software Development Kits (SDKs) to enable interactions with AWS services.
- Refer to the following link for comprehensive setup instructions: Setting up AWS CLI and SDKs.
- Run this command to quickly set and view your credentials, Region, and output format. The following example shows sample values.
$ aws configure
AWS Access Key ID [None]: ***************
AWS Secret Access Key [None]: ************
Default region name [None]: us-west-2
Default output format [None]: json
- Google Chrome: Using Chrome as a default browser is mandatory for viewing XFaaS dashboard.
Follow these steps to clone and run the XFaaS dashboard:
-
Clone the Repository:
- Clone the GitHub repository XFaaS using the following command:
git clone https://github.com/itsCheithanya/XFaaS.git
- Alternatively, you can download the zip file of the repository and unzip it.
- Clone the GitHub repository XFaaS using the following command:
-
Frontend Setup:
- Open your terminal and navigate to the
/XFaaS/frontend
directory using the following command:cd XFaaS/frontend
- Install all the npm packages by executing the command:
npm install
- Start the frontend server by executing the command:
npm start
- Open your terminal and navigate to the
-
Backend Setup:
- Navigate to the
/XFaaS/backend
directory. - Install all the backend packages by executing the command:
npm install
- Start the backend server by executing the command:
npm run dev
- Navigate to the