Project-Stage-Academy / UA1244_beta

1 stars 0 forks source link

Create starter Django project and define apps #62

Closed gogolmariana closed 3 weeks ago

gogolmariana commented 3 weeks ago

Created new forum Django project and added users, projects, profiles, communications, dashboard apps to the project.

gogolmariana commented 3 weeks ago

The .idea folder was included in the pull request. This folder contains project-specific configuration files generated by PyCharm and should not be committed to the repository. Here are the steps to exclude the .idea folder from the PR and future commits:

1. **Remove the `.idea` Folder from the PR:**

   * The `.idea` folder should not be included in the repository as it contains personal project settings that can differ between developers.

2. **Add `.idea` to `.gitignore`:**

   * To prevent this folder from being included in future commits, you can add it to the `.gitignore` file (if it isn't already).

   Example of adding `.idea` to `.gitignore`:
   ```
   .idea/
   ```

3. **Remove `.idea` from Git Tracking:**

   * Even after adding `.idea` to the `.gitignore` file, Git may still track the folder if it has already been committed. To untrack it, follow these steps:

   Run the following commands in the terminal:
   ```shell
   git rm -r --cached .idea
   git commit -m "Remove .idea from tracking"
   ```

Instructions to Exclude .idea in PyCharm:

1. **Edit `.gitignore` Directly in PyCharm:**

   * Open the `.gitignore` file in PyCharm (in the root directory).
     ![image](https://private-user-images.githubusercontent.com/39273210/373495045-32a2de88-9a9c-4adf-aa4f-ac6eca704155.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjgwMjgwNzYsIm5iZiI6MTcyODAyNzc3NiwicGF0aCI6Ii8zOTI3MzIxMC8zNzM0OTUwNDUtMzJhMmRlODgtOWE5Yy00YWRmLWFhNGYtYWM2ZWNhNzA0MTU1LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDEwMDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQxMDA0VDA3NDI1NlomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTAzN2JmOTk1NzAyYzQ0ZmVkYjFiNWE3MzRhMDFkZGQ1NTNhNTkyMmY3OGIyODYyOGViNjJlMmVhNDVmMDFhMDYmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.msRtPFf5Klz8eQiPfx1guCqxM0REsDdfvlupRL59ZVE)
   * Add the following line to the file:
     ```
     .idea/
     ```
   * Save the file.

2. **Remove the Folder from Git Tracking in PyCharm:**

   * Right-click on the `.idea` folder in the PyCharm project view.
   * Select **Git** > **Repository** > **Untrack** (or use the Git terminal inside PyCharm and run `git rm -r --cached .idea`).
   * Commit the changes by removing the `.idea` folder from Git tracking.

Ok.

I am going to remove from .gitignore

option (not recommended) you can uncomment the following to ignore the entire idea folder. .idea