User Panel Setup

10. User Panel Setup

10.1 Connect to FTP and Setup

Follow these instructions to connect to your server using FTP and complete the application setup:

10.1.1. Connect to the server using FTP: Use an FTP client like FileZilla to connect to your server. Enter the server’s IP address, username, and password. Use port 21 for FTP or port 22 for SFTP.

10.1.2. Transfer the ZIP file: Upload your landing panel’s ZIP file to the server’s local path (e.g., /var/www/html).

10.1.3. Unzip the file: Navigate to the file’s location on the server and run the following command to extract the ZIP file: “sudo unzip your-application.zip” or you can do it from cpanel directly.

10.1.4. Update the .env file with your configuration: Modify the database and application settings which are mentioned in the .env file. Below is an example configuration:

How to get Firebase VAPID Key?

  1. Open the Firebase Console and select your Firebase project.
  2. In the left sidebar, click the Settings icon next to Project Overview, then select Project settings.
  3. Navigate to the Cloud Messaging tab.
  4. Scroll down to the Web configuration section.
  5. Under the Web Push certificates section, click Generate Key Pair.
  6. Once the key pair is generated, copy the displayed Web Push public key (VAPID key). You will need this key for your web application’s push notification configuration.

Important Notes:

Please use the same Firebase credentials for the owner and landing panel setup that you will also add in the .env file for the admin panel setup.

Now you can access your user page at your desired domain
For ex: http://yourdomain.com/