# Prerequisites

1. **Download the latest builds:**
   - Protean CMS
   - ProteanCMSAddons
   - GAC installer

2. **Ensure that both the CMS and Addons are available.**

---

# Creating the Initial Commit

1. **Create a Repository:**
   - Create a new repository with a suitable name within `C:\HostingSpaces`.

2. **Set Up the Folder Structure:**
   - Create a folder named `wwroot` within the repository.

3. **Copy CMS Files:**
   - Navigate to `C:\HostingSpaces\ProteanCMS Addons\ProteanCMS6_Managed_WPI\ProteanCMS`.
   - Copy all files from this directory into the newly created repository.

4. **Configure IIS:**
   - Set up IIS for the new website. Refer to the [IIS Setup Guide](https://eonicsource.visualstudio.com/ProteanCMS/_wiki/wikis/Protean%20CMS%20Wiki/327/Creating-a-New-IIS-Server-for-Local-Builds-with-ProteanCMS) for detailed instructions.

5. **Open and Configure Visual Studio:**
   - Open Visual Studio and select 'Create New Project'.
   - Find and open the solution within the new repository you created.
   - Add the existing website to your solution.

6. **Update Configuration:**
   - Navigate to `protean.web.config` and update the following variables with the correct information:
     ```xml
     <add key="Databaseserver" value="" />
     <add key="DatabaseName" value="" />
     <add key="DatabaseUsername" value="" />
     <add key="DatabasePassword" value="" />
     <add key="SiteName" value="" />
     ```

7. **Launch Your Project:**
   - You should now be able to launch your project successfully.

---

# Creating the Database

1. **Build and Launch the Project:**
   - Build and run the project to initialize.

2. **Update Database Schema:**
   - Navigate to `[localhost]/ptn/setup`.
   - Select the option to update the database schema.

3. **Verify Configuration:**
   - Ensure that `protean.web.config` is correctly set up.

4. **Ready for Commit:**
   - Your setup is now complete and you're ready for your first commit!

---

- [Back to ProteanCMS for Beginners](ProteanCMS-for-Beginners)

---