user

command module
v0.0.0-...-23e74bb Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 25, 2023 License: MIT Imports: 11 Imported by: 0

README

Download the Firebase Configuration File

Go to your Firebase console. Select the desired project. Navigate to "Project settings" > "Service accounts" > "Firebase Admin SDK". Click on "Generate new private key file" and save the json file.

Download the Executable

Go to the Releases section of the GitHub repository and download the latest version of the "user" executable for Linux.

Set the Environment Variables

Set the necessary environment variables for the project. Open a terminal and enter the following commands:

export SECRETS_FILE_PATH="/path/to/your/firebase/secrets.json"
export PROJECT_ID="your_project_id"

Replace /path/to/your/firebase/secrets.json with the actual path of your Firebase secrets file and your_project_id with your Firebase project ID.

Application Execution

Grant Execution Permissions

From the directory where you downloaded the "user" executable, make it executable with the command:

chmod +x user

Run the Executable

Start the application by executing:
./user

Verify

Once the application is started, it should be accessible via a browser or any HTTP client at the address http://localhost:50001/swagger/index.html#.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package docs Code generated by swaggo/swag.
Package docs Code generated by swaggo/swag.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL