serratus.io is under active development. This document is in place to make it easier for anyone to help us.
- ababaiain/serratus : Repository for Serratus bioinformatics/computational analyses
- serratus-bio/serratus.io : Repository for Serratus front-facing website
- serratus-bio/serratus-summary-uploader : Repository for Serratus database curation
- serratus-bio/serratus-summary-api : Repository for Serratus database API
- See the issues page for tasks that could use some help. You can filter by the good first issue label.
- Alternatively, visit the project board which includes tasks from serratus-db.
- Feel free to comment on any issue, even those you're not assigned to if you have a helpful suggestion.
- If you'd like to work on a given task, simply add a comment saying this to the issue and it will be "Assigned" to you.
Prerequisites:
-
Make sure you have
npm
andnodejs
(> 12.x) installed. -
Clone this repository
-
Setup environment
# 1. Install npm / tailwind sudo apt-get install npm npm install -D tailwindcss@latest postcss@latest autoprefixer@latest # 2. Clone repository git clone https://github.com/serratus-bio/serratus.io.git # 3. Setup environment cd path/to/serratus.io npm install # Increase build memory export NODE_OPTIONS=--max_old_space_size=4096
- In a separate console, run serratus-summary-api locally on
http://localhost:5000
(default) - Run
npm start
for serratus.io.
If you want to use the live backend API (api.serratus.io
) instead of running it locally.
- Open
.env.development
in a text editor - Replace
http://localhost:5000
withhttps://api.serratus.io
- Run
npm start
.
- Make sure you have a GitHub account.
- Fork this repository on GitHub.
- Create a new branch from the
main
branch. - Make commits of logical and atomic units, with meaningful messages.
Custom ESLint rules and Prettier options are set to warn on violations. Warnings don't block local builds, but they should be fixed before merging a pull request.
To fix prettier warnings, run npm run prettier:write
. Be sure to commit these changes.
- Push your changes to a topic branch in your fork of the repository.
- Submit a pull request to the repository in the
serratus-bio
organization.
- Wiki Reference : some further documentation that isn't necessary for contributing, but good to know.