Harmonized MRI is an initiative aimed at creating a centralized resource for Pulseq projects, enabling researchers and developers to easily share and discover new developments in the field of magnetic resonance imaging (MRI). The website provides a curated list of Pulseq projects, detailed information about each project, and resources to help users get started with Pulseq.
- Project Listings: A searchable and filterable list of Pulseq projects.
- Project Details: Detailed pages for each project, including descriptions, goals, and resources.
- Community Contributions: Guidelines for contributing new projects to the list.
To explore the projects or contribute to the initiative, visit the Harmonized MRI website.
If you are a developer and want to contribute to the website's development, follow the instructions below to set up the project locally.
Ensure you have the following installed:
- Ruby: Version
2.5.0
or higher - Jekyll: Version
4.3.3
or higher - Bundler: Version
2.1.4
or higher
-
Clone the repository:
git clone https://github.com/HarmonizedMRI/HarmonizedMRI.github.io.git cd HarmonizedMRI.github.io
-
Install Ruby and Bundler dependencies:
bundle install
-
Serve the site locally with live reload:
bundle exec jekyll serve --livereload --port 4001
-
Open your web browser and go to
http://localhost:4001/
to view the site.
If you need to customize the layout or styles:
-
Locate the layout files in the theme:
bundle info --path minima
-
Copy the necessary layout files (e.g.,
post.html
,page.html
) into the_layouts
directory of your project:
cp $(bundle info --path minima)/_layouts/post.html ./_layouts/ ```
- Edit the copied files to customize the layout as needed.
If you encounter issues during setup, refer to the following resources:
Common troubleshooting steps include:
-
Installing Ruby and Build Essentials:
sudo apt-get install ruby-full build-essential zlib1g-dev
-
Setting up Gem Path for Non-Root Installations:
echo '# Install Ruby Gems to ~/gems' >> ~/.bashrc echo 'export GEM_HOME="$HOME/gems"' >> ~/.bashrc echo 'export PATH="$HOME/gems/bin:$PATH"' >> ~/.bashrc source ~/.bashrc
-
Uninstalling the Apt Version of Jekyll:
PACKAGES="$(dpkg -l | grep jekyll | cut -d' ' -f3 | xargs)" sudo apt remove --purge $PACKAGES sudo apt autoremove sudo gem install jekyll bundler
We welcome contributions! To contribute:
- Fork the repository.
- Create a new branch:
git checkout -b feature-branch-name
- Make your changes and commit them:
git commit -m "Description of changes"
- Push to your fork:
git push origin feature-branch-name
- Open a pull request in the main repository.
This project is licensed under the MIT License.