finteligo

command module
v0.0.0-...-da6aac2 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2024 License: Apache-2.0 Imports: 1 Imported by: 0

README

Finteligo

Advanced AI-powered fintech solution

Requirements

Before you get started, ensure you have the following installed:

  • Node.js
  • pnpm
  • Go
  • Air
  • SQLite

Quick Start

  1. Set Up Environment Variables

    Copy the example environment file and modify it as needed:

    cp .env.example .env
    
  2. Install Dependencies

    Run the following commands to install the necessary dependencies:

    pnpm install
    go get -u all
    
  3. Run the Application

    Start the development server in one terminal:

    pnpm dev
    

    Then, in another terminal, run:

    air
    

Building the Project

To build the project, use:

pnpm build
go build -o finteligo ./main.go

Running the Executable

After building, you can run the application with:

./finteligo

Systemd Service

To run the application as a systemd service, create a new service file:

nano /etc/systemd/system/finteligo.service

Then, add the following content:

[Unit]
Description=Finteligo Service
After=network-online.target
Wants=network-online.target systemd-networkd-wait-online.service

StartLimitIntervalSec=500
StartLimitBurst=5

[Service]
Restart=on-failure
RestartSec=5s

WorkingDirectory=/path/to/finteligo
ExecStart=/path/to/finteligo/finteligo

[Install]
WantedBy=multi-user.target

Finally, start and enable the service:

systemctl daemon-reload
systemctl start finteligo
systemctl enable finteligo

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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