How to Get Started with GitCandy: A Guide to Your Git Repository on ASP.NET

Jan 6, 2024 | Programming

Welcome to GitCandy, a distributed version control platform that works seamlessly with ASP.NET MVC. In this blog post, we will guide you through the installation, setup, and troubleshooting of GitCandy, allowing you to collaborate on public and private repositories conveniently. Let’s dive in!

Prerequisites

Before embarking on your GitCandy journey, make sure you have the following items set up:

Installation Steps

Ready to set GitCandy up? Follow these simple steps:

  1. Download the latest release or build the dev branch yourself.
  2. Create a website on IIS and copy the binary and resource files to your site path.
  3. If you are publishing the website, copy the GitCandy bin[NativeBinaries x86 x64] folders to the destination.
  4. Create a database by running SqlCreate.[Sqlite MsSql].sql, and if applicable, copy the database file to the App_Data folder.
  5. Update the connection string in the Web.config file.
  6. Prepare two folders for storage: Repositories and Cache.
  7. Navigate to your site and log in with the default username: admin and password: gitcandy.
  8. Go to the Settings page to set the folder paths of Repositories, Cache, and git-core.
  9. It is recommended to set compilation debug=false in the Web.config.

Note: The Repositories or Cache path may look like x:\Repos or x:\Cache, and the git-core path like x:\PortableGit\libexec\git-core or x:\PortableGit\mingw64\libexec\git-core.

Understanding the Setup

Think of GitCandy like a library where books (repositories) are kept. You can check out books (commit changes), borrow them with friends (collaborate), or even create your own library section (private repository). The organizational structure in IIS acts like the shelves in that library where your books are neatly arranged, making it easy to access and update your projects. Just like a good librarian makes sure the books are categorized, you’ll set the repository and cache paths to manage your projects effectively!

Troubleshooting

If you encounter issues while setting up GitCandy, here are some troubleshooting tips:

  • Check your IIS configuration to ensure the site is running.
  • Make sure that all prerequisite software is installed correctly and is the required version.
  • Verify the connection string in the Web.config file; a slight typo can lead to access issues.
  • Ensure that the permissions for the Repositories and Cache folders are set correctly.
  • If you cannot log in, reset the password or review the login credentials.

For more insights, updates, or to collaborate on AI development projects, stay connected with fxis.ai.

Conclusion

Installing and configuring GitCandy on your server opens up a world of collaboration for your development team. Follow this guide step by step, and you’ll have a fully operational distributed version control platform in no time. At fxis.ai, we believe that such advancements are crucial for the future of AI, as they enable more comprehensive and effective solutions. Our team is continually exploring new methodologies to push the envelope in artificial intelligence, ensuring that our clients benefit from the latest technological innovations.

Stay Informed with the Newest F(x) Insights and Blogs

Tech News and Blog Highlights, Straight to Your Inbox