Skip to content

Deployment Document

HarperCC101 edited this page Apr 7, 2025 · 15 revisions

Deployment Guide for Aria's Budget Tracker (Linux x64)

This document outlines the steps to deploy and run Aria's Budget Tracker application on a Linux x64 system.

Prerequisites

  • .NET Runtime: This application is built using .NET 8.0. The user must have the .NET 8.0 runtime installed on their Linux system. If it's not installed, they can follow the official instructions on the Microsoft .NET website: https://dotnet.microsoft.com/download/dotnet/8.0
  • SQLite Native Library: The .NET SQLite library often relies on the native SQLite library being present on the system. The installation command varies depending on the Linux distribution.
    • Debian/Ubuntu:
      sudo apt-get update
      sudo apt-get install libsqlite3-0
      (Note: Users on other distributions should use their system's package manager)

Deployment Steps

  1. Download the Release Package:

    • Go to the Releases page of this repository.
    • Download the budget-tracker-linux-x64.zip file to your local machine.
  2. Extract the Application:

    • Command Line: Use unzip budget-tracker-linux-x64.zip in the terminal where you downloaded the file. This will create a budget-tracker-linux-x64 directory.
    • Browser-Based VS Code:
      • If you are using a browser-based VS Code environment (such as provided by Coursera):
        • Open the File Explorer (usually the top icon on the left sidebar).
        • Right-click in an empty area of the File Explorer where you want to upload the zip file.
        • Select "Upload..." from the context menu.
        • Choose the budget-tracker-linux-x64.zip file that you downloaded to your local machine.
        • Once the upload is complete, the budget-tracker-linux-x64.zip file will appear in your File Explorer.
        • Use the unzip command in the terminal to extract the contents of the zip file:
          unzip budget-tracker-linux-x64.zip
        • This will create a directory named budget-tracker-linux-x64 containing the application files.
  3. Navigate to the Application Directory:

    • Navigate to the budget-tracker-linux-x64 directory (or the directory where you extracted the files) in the terminal:
      cd budget-tracker-linux-x64
  4. Running the Application:

    • From the directory containing my-budget-app.dll and Budget.db, run:
      dotnet my-budget-app.dll

Notes

  • Database: The application uses an SQLite database (Budget.db) to store your budget information. This file should be located in the same directory as the my-budget-app.dll file.
  • Permissions: Ensure you have the necessary execute permissions for the .NET runtime and the application files if you encounter any permission-related issues.

Support

If you encounter any issues during deployment or while using the application, please open an issue on the GitHub Issues page of this repository, providing details about the problem.


Thank you for using Aria's Budget Tracker!

Clone this wiki locally