Skip to content

Index

Development Environment Setup

This guide provides a comprehensive overview of setting up the development environment for working on CowPress and ToDoMoo, the products developed by CacheCows. It covers the installation and configuration of the necessary tools and technologies including C#, Entity Framework Core, HTMX, and Azure.

System Requirements

Before setting up the development environment, ensure your system meets the following requirements:

  • Operating System: Windows 10 or later, MacOS, or a compatible Linux distribution
  • Processor: Minimum dual-core processor (Quad-core or higher recommended)
  • RAM: 4 GB (8 GB or more recommended)
  • Hard Disk: 20 GB of free space

Installing and Configuring C

  1. Install .NET SDK
    - Download and install the latest .NET SDK from Microsoft’s official site.
    - Verify the installation by running dotnet --version in your command line.

  2. Set up your Development IDE
    - Install Visual Studio (recommended for Windows) or Visual Studio Code (for Windows, MacOS, Linux).
    - Ensure C# extensions or workloads are installed.

Setting up Entity Framework Core

  1. Install EF Core Tools
    - Run dotnet tool install --global dotnet-ef to install the EF Core command-line tools.

  2. Add EF Core to Your Project
    - Use the command dotnet add package Microsoft.EntityFrameworkCore to add EF Core to your project.

HTMX Setup Guide

  1. Include HTMX in Your Project
    - Add HTMX by including the following script tag in your HTML files:

    <script src="https://unpkg.com/htmx.org/dist/htmx.min.js"></script>
    

  2. Learn HTMX Basics
    - Refer to the official HTMX documentation for an understanding of its syntax and usage.

Azure Resources Configuration

  1. Create an Azure Account
    - Sign up for a Microsoft Azure account at Azure Portal.

  2. Set Up Azure Services
    - Follow Azure’s documentation to set up services like Azure SQL Database, Azure App Services, and Azure Storage according to your project needs.


Last update : November 17, 2023
Created : November 16, 2023