Sharing. Connecting. Empowering
Find all the information about our community and projects at https://open-life-science.github.io.
First and foremost, Welcome! 🎉 Willkommen! 🎊 Bienvenue! 🙏 सुस्वागत (Suswagat)🎈🎈🎈
This document (the README
file) is a hub to give you some information about the
project. Jump straight to one of the sections below, or just scroll down to find
out more.
We are working to create a mentoring program for individuals interested in becoming ambassadors for Open Science practice, training and education in their communities.
Our outcome is to support early stage researchers and young leaders by sharing Open Science skills, connecting them to others in the community, and empowering them to become ambassadors for Open Science practice, training and education in their communities.
We are currently a team of people who share a passion for Open Research and inclusiveness in Open Science. Please read more on our website.
You! In whatever way you can help.
We need expertise in open-science, training, mentoring, communication. We'd love your feedback along the way, of course.
If you think you can help in any of the areas listed above (and we bet you can) or in any of the many areas that we haven't yet thought of (and here we're sure you can), then please check out our contributors' guidelines and our roadmap.
Please note that it's very important to us that we maintain a positive and supportive environment for everyone who wants to participate. When you join us, we ask that you follow our code of conduct in all interactions, both on and offline.
GitPod is an open-source developer platform for remote development. You can use it to generate the website without installing anything on your computer.
-
Setting up GitPod
-
Create a fork of the OLS GitHub repository (to do only 1 time)
- Go on the GitHub repository: github.com/open-life-science/open-life-science.github.io
- Click on the Fork button (top-right corner of the page)
-
Open your browser and navigate to gitpod.io
-
Log in with GitHub
-
Copy the link to your fork of the GTN, e.g. https://github.com/bebatut/open-life-science.github.io
Gitpod will now configure your environment. This may take some time.
Once the setup is finished, you should see a page with:
- On the Left: All the files in the OLS repository.
- Top: The main window where you can view and edit files.
- Bottom: Terminal window, where you can type commands (e.g. to build the website preview) and read output and error messages.
-
-
Build and preview the OLS website
- Type the following command
make serve-gitpod
in the terminal window (bottom) - Click on the link in the terminal to see the OLS in full-screen:
Server address: http://127.0.0.1:4000
- Type the following command
-
Make and view changes
- Open and/or create files via the file browser on the left
- Make and save the changes in the files
- Reload the preview page to view the changes
-
Saving changes back to GitHub
- Option 1: via the terminal
- Create a new branch with
git checkout
- Commit your changes with
git add
andgit commit
- Push changes with
git push origin
- Create a new branch with
- Option 2: via the web interface
- Create a new branch
- Click on the bottom-left on the branch logo button on the bottom of the page with the current branch (probably "main")
- Give your new branch a name (at top of window)
- Choose "+ Create new branch..." from the dropdown
- Commit changes
-
Click on the "Source Control" tab button (branch) on the left menu to show changed files.
-
Click on the "+" icon next to the edited files to stage changes (stage changes button).
-
Hit the checkmark icon at the top to commit the changes.
-
Enter a commit message (top of window) - Publish changes.
-
Click the cloud button at bottom left to publish your changes (publish changes button).
Changes are now saved to your fork, and you can make a PR via the GitHub interface
-
- Create a new branch
- Option 1: via the terminal
You need a ruby
environment (version >= 2.4). Either you have it installed and
you know how to install Bundler and
Jekyll and then run Jekyll, or you use
(mini-)conda, a package management system
that can install all these tools for you. You can install it by following the
instructions on this page: https://conda.io/docs/user-guide/install/index.html
In the sequel, we assume you use miniconda.
-
Open a terminal
-
Clone this GitHub repository:
$ git clone https://github.com/open-life-science/open-life-science.github.io.git
-
Navigate to the
open-life-science.github.io/
folder with thecd
command -
Set up the conda environment:
$ make create-env
-
Install the project's dependencies:
$ make install
-
Start the website:
$ make serve
-
Open the website in your favorite browser at: http://127.0.0.1:4000/
To avoid dead or wrong links, run the link checkers:
$ make check-html
Our knowledge about our different programs, our community, etc is managed via this repository, CiviCRM, and documents stored in Google Drive. It is then added to the website as explained in our Knowledge Management System documentation
The content of this website are licensed under the Creative Commons Attribution 4.0 International License.
The code behind the infrastructure is licensed under the MIT License