Skip to content

Commit 5aa148b

Browse files
committed
fix: Adm README update
1 parent 15b68a8 commit 5aa148b

File tree

2 files changed

+30
-20
lines changed

2 files changed

+30
-20
lines changed

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ The image below provides a summary of the repository's folder structure. There i
2626
- [Citation](#citation)
2727
- [License](#license)
2828

29-
## Features {#features}
29+
## Features
3030

3131
- **TIER Protocol 4.0 Structure:** Organized folder structure (`Data/`, `Scripts/`, `Output/`) aligned with the TIER Protocol for clear reproducibility.
3232
- **Quarto Book Project:** Utilizes Quarto's powerful book format for creating rich, dynamic documents integrating text, code (R), and outputs.
@@ -38,7 +38,7 @@ The image below provides a summary of the repository's folder structure. There i
3838
- **Easy Deployment:** Configured for publication on GitHub Pages via GitHub Actions (`.github/workflows/deploy.yml`).
3939
- **Sharing Platform:** Designed for sharing on the Open Science Framework (OSF).
4040

41-
## Prerequisites {#prerequisites}
41+
## Prerequisites
4242

4343
Before using this template for **Full Reproducibility**, ensure you have the following installed on your machine:
4444

@@ -76,7 +76,7 @@ This method uses the pre-configured Docker setup for the easiest and most reprod
7676
- **Windows:** Double-click `stop.bat`.
7777
- **macOS/Linux:** Run `./stop.sh`.
7878

79-
## Setup, Build, and Run (Detailed Docker Steps) {#setup-build-and-run-detailed-docker-steps}
79+
## Setup, Build, and Run (Detailed Docker Steps)
8080

8181
If you prefer manual control or want to understand the process:
8282

@@ -89,14 +89,14 @@ If you prefer manual control or want to understand the process:
8989
4. **Stop the Container:**
9090
- To stop and remove the container: `docker-compose down`
9191

92-
## Accessing the RStudio Environment {#accessing-the-rstudio-environment}
92+
## Accessing the RStudio Environment
9393

9494
- **URL:** `http://ip_host:8787` (The `start` scripts automatically open this).
9595
- **Authentication:** No login required (`DISABLE_AUTH=true`).
9696
- **User:** You are logged in as the `rstudio` user.
9797
- **Project Location (in Container):** `/home/rstudio/project` (This is your local project folder mounted inside the container).
9898

99-
## Daily Workflow {#daily-workflow}
99+
## Daily Workflow
100100

101101
1. **Start:** Use `docker/start.bat` or `docker/start.sh`.
102102
2. **Work in RStudio:**
@@ -108,7 +108,7 @@ If you prefer manual control or want to understand the process:
108108
- Use `quarto render` in the Terminal to build your outputs (HTML, PDF).
109109
3. **Stop:** Use `docker/stop.bat` or `docker/stop.sh` when done.
110110

111-
## Environment Features {#environment-features}
111+
## Environment Features
112112

113113
- **Base Image:** `rocker/verse:4.5.1` (Includes R, RStudio Server, Quarto, Pandoc, TinyTeX).
114114
- **R Package Management:** `renv` is pre-configured.
@@ -120,7 +120,7 @@ If you prefer manual control or want to understand the process:
120120
- **RStudio Settings Persistence:** RStudio configuration (`.config`, `.local`, `.rstudio`, `.R`) is stored in `docker/cache/` and mounted into the container, preserving your layout and preferences per project.
121121
- **Port Management:** The `start` scripts automatically find an open port starting from 8787.
122122

123-
## Useful Commands {#useful-commands}
123+
## Useful Commands
124124

125125
- **Inside RStudio Terminal:**
126126
- `quarto render`: Render the entire book/project.
@@ -134,7 +134,7 @@ If you prefer manual control or want to understand the process:
134134
- `docker volume ls`: List Docker volumes (to see `renv_cache`, `renv_library`).
135135
- `docker volume prune`: Remove unused Docker volumes (use with caution).
136136

137-
## Troubleshooting {#troubleshooting}
137+
## Troubleshooting
138138

139139
- **Docker not running:** Ensure the Docker Desktop application (or Docker daemon on Linux) is started.
140140
- **Port in use:** The `start` scripts automatically find the next available port. Check the terminal output for the URL.
@@ -145,7 +145,7 @@ If you prefer manual control or want to understand the process:
145145
- **Packages not found after restart:** Ensure `renv` is activated (opening `article-template.Rproj` usually does this) and run `renv::restore()` if needed.
146146
- **RStudio settings not persisting:** Ensure the `docker/cache` directory exists and has the correct permissions.
147147

148-
## Publishing Your Article {#publishing-your-article}
148+
## Publishing Your Article
149149

150150
This template is configured for easy publication on GitHub Pages using GitHub Actions.
151151

@@ -166,23 +166,23 @@ This template is configured for easy publication on GitHub Pages using GitHub Ac
166166
5. **View Your Site:**
167167
- After the workflow completes successfully, your site will be available at `https://<your-github-username>.github.io/<your-repo-name>/`.
168168

169-
## Important Notes {#important-notes}
169+
## Important Notes
170170

171171
- **Project Structure:** The main narrative files (`.qmd`) and configuration (`_quarto.yml`, `references.bib`, etc.) are in the **root** of the repository. Docker mounts this root directory to `/home/rstudio/project` inside the container.
172172
- **Docker Context:** The `docker-compose.yml` uses `..` (the project root) as the build context, allowing the Dockerfile to access files like `renv.lock`.
173173
- **renv:** This template relies heavily on `renv` for reproducibility. Familiarize yourself with its basic usage (`snapshot`, `restore`).
174174
- **Git Integration:** While the Docker environment provides isolation, you should still use Git locally on your host machine for version control of your project files.
175175
- **Administrative Files:** The `Adm/` folder is intended for administrative files and is ignored by Git (via `.gitignore`) and not published to GitHub Pages.
176176

177-
## Citation {#citation}
177+
## Citation
178178

179179
If you use this template, please cite it as:
180180

181181
Limongi, R., & Rogers, P. (2025). Open Science in Three Acts: Foundations, Practice, and Implementation - Second Act. *BAR - Brazilian Administration Review*, *22*(2), e250116. <https://doi.org/10.1590/1807-7692bar2025250116>
182182

183183
Limongi, R., & Rogers, P. (2025). Open Science in Three Acts: Foundations, Practice, and Implementation - First Act. *BAR - Brazilian Administration Review*, *22*(1), e250079. <https://doi.org/10.1590/1807-7692bar2025250079>
184184

185-
## License {#license}
185+
## License
186186

187187
This project is licensed under the Creative Commons Attribution-NonCommercial 4.0 International License - see the [LICENSE](LICENSE) file for details.
188188

adm/README.md

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,25 @@
1-
The creation of an `adm` (Administration) folder in your research project, which will be excluded from Git version control, is essential for several reasons. This folder is designated to contain sensitive and confidential data, such as personal details of research participants, financial information, contracts, and confidentiality agreements. These documents must be kept private and not shared publicly or with the broader research community.
1+
# Adm Folder
22

3-
Additionally, the `adm` folder will house temporary and work-related documents, including notes, drafts, task lists, and meeting notes. These are frequently updated and not pertinent to the main code repository, ensuring that only the most relevant information is tracked and versioned.
3+
## Overview
44

5-
Additionally, files unique to the local work environment will be kept in the `adm` folder. These could consist of credentials, API keys, and local software configurations. These files should be kept out of the version control system to avoid unintentional exposure and are not required for other participants to duplicate the project.
5+
The `Adm` (Administration) folder serves as a secure and organized space for project-related materials that should not be included in version control or public sharing. This folder is specifically excluded from Git tracking (via `.gitignore`) and is not published to platforms like GitHub Pages. It centralizes sensitive, temporary, local, and administrative files, keeping the main project repository clean and focused on the core, reproducible components.
66

7-
As a work-in-progress backup repository, the `adm` folder lets you keep temporary versions and backups without adding needless changes to the Git history. This procedure maintains the primary repository organized and concentrated on important updates and modifications.
7+
## Contents
88

9-
In addition, the folder contains project management-related administrative items such budgets, timelines, and resource planning documents. These don't have to be a part of the version-controlled codebase; they are essential for the project's internal management.
9+
- **Sensitive and Confidential Data**: Personal information of participants, financial records, contracts, non-disclosure agreements (NDAs), and other private documents.
10+
- **Temporary and Work-in-Progress Files**: Drafts, notes, "to-do" lists, meeting minutes, and intermediary files (e.g., source files for external illustrations).
11+
- **Local Environment Files**: Machine-specific configurations, credentials, API keys, or local database connection strings.
12+
- **Project Management Documents**: Budgets, timelines, resource allocation plans, and internal administrative records.
13+
- **Non-Essential Project Files**: Files related to the project but not required for its technical execution or reproduction, such as articles written in a native language or personal organizational tools.
1014

11-
Finally, you keep a clean and orderly repository in Git by ignoring the `adm` folder. By taking this method, the integrity and clarity of the commit history are preserved since only files and code that are directly important to the development and replication of the research are tracked.
15+
## Guidelines
1216

13-
For instance, the authors of this template typically write the articles in their native language, and the mess stays in that folder. This folder is also used for 'to do' notes to keep track of tasks, intermediary files for creating external illustrations to the scripts, and other project-related external files.
17+
- **Exclusion from Version Control**: The `Adm` folder is intentionally ignored by Git. Do not place files here that are necessary for the reproducibility of your research project's core analysis.
18+
- **Security for Sensitive Data**: Store all sensitive and confidential information within this folder to prevent accidental public exposure.
19+
- **Organization of Temporary Files**: Use this folder for any documents or files that are frequently updated, temporary in nature, or not suitable for the main project history.
20+
- **Local Configuration Storage**: Keep any local environment setup files or secrets in this folder to avoid committing them to the shared repository.
21+
- **Project Administration**: Centralize internal project management documents here to separate them from the technical project files.
1422

15-
In summary, the `adm` folder may play a crucial role in the project setup by offering a safe and well-organized location for work in progress, temporary documents, sensitive data, local-specific files, and administrative materials, all while maintaining the Git repository clean and concentrated on the elements that are actually important for the research.
23+
## Additional Resources
24+
25+
While the `Adm` folder is excluded from the TIER Protocol's core reproducibility structure, its use supports good project hygiene. For general project organization principles, refer to the [TIER Protocol 4.0](https://www.projecttier.org/tier-protocol/protocol-4-0/).

0 commit comments

Comments
 (0)