Git Product home page Git Product logo

im-docs's Introduction

InterMine Server Documentation

Documentation for the InterMine project.

Documentation

The HTML documentation is generated from Markdown docs, using the static site generator called Docusaurus.

Building locally

You should build locally before you push, to make sure your changes are correct. You will need nodejs (version >= 10.15.1) and yarn (version >= 1.5) installed.

Building the docs:

cd im-docs
yarn install
yarn start

Deployment

This repository uses GitHub Actions to automatically deploy any changes pushed to the master branch to GitHub Pages. The website is deployed to: http://intermine.org/im-docs/

If you wish to deploy manually for some reason, you can use the below command considering you have commit access to the repository.

GIT_USER=<Your GitHub username> USE_SSH=true yarn deploy

im-docs's People

Contributors

adrianbzg avatar alexkalderimis avatar asherpasha avatar boboppie avatar danielabutano avatar flymine avatar heckendorfc avatar heralden avatar hkmoon avatar iammujuzimoses avatar igoranze avatar intermineorg avatar joelrichardson avatar joshkh avatar justinccdev avatar missaishagurung avatar mlyne avatar nicolascoutin avatar nikhil-vats avatar nuin avatar persdre avatar radekstepan avatar ratmine avatar rnsmith avatar sammyjava avatar sannim3 avatar sergiocontrino avatar udokavrede avatar vivekkrish avatar yochannah avatar

Stargazers

 avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

im-docs's Issues

Licence

I was going to suggest to someone that they could base their contributing guidelines on ours, but I've noticed there is no licence in this repo. Would it be ok to add one?

Ideally a flexible non-viral licence like MIT.

Home page

  • Add link to the intermine.org
  • Check if the contect is ok

Running project_build in the tutorial fails if the user has no password set for their database user

Near the end of the getting started tutorial in the section "Building a Mine", the user is asked to run the project_build script to demonstrate how the manual steps performed earlier can be done automatically.

However, if the user has no database password set for their PostgreSQL user then project_build asks for a password several times. Hitting return (naively for the blank password) generates an error each time but this isn't fatal for the tutorial if the user has already carried out the manual steps.

Normally, one would expect a database password to be set but some lazy people (like me!) might have it unset. The tutorial implies earlier on in the "Properties file" section that this is okay - "If you don’t have a password for your postgres account you can leave password blank.". Doing the steps manually works fine without a password set.

Digging in to the project_build script, I believe that it ends up asking for a password because it specifies the -h localhost option to the psql at various points. This triggers a network connection rather than a Unix domain socket connection and on Ubuntu 14.10, at least, this makes authentication occur via the password method rather than the peer method. It appears that on PostgreSQL password authentication can't be done with unset passwords. This happens even if the user executing the script is the database superuser. Having a 'blank' password set in the generated ~/.pgpass doesn't help.

Would it be worth changing the tutorial to ask people to always set a database password rather than leave it blank? The alternative of changing build_script to leave out the -h localhost switch if no password is found in ~/.intermine/malariamine.properties looks fiddly. One might also be able to specify /var/run/postgresql as the host so that psql connects over the domain socket. But both these look complicated and still leave other permissions issues to be resolved.

Renaming Search labels

On the top right, under the 5.0.0 drop down, remove Next and rename previus versions into Legacy Documentation

Add search box

@kkarra wants a search box that searches the docs at read-the-docs.

This would be different from the search box we hope to add that queries the intermines themselves.

Reorganize Index

Move the Path Query API after Database (and remove the intermine API desription)
Move Support and About Us after InterMine Video Tutorial
Rename Style into Documentation Style Guide (Style Guide will be removed foowing #69 )

Tutorial for InterMOD site

http://www.crossmodel.org

On the home page I added a paragraph on web services.

I think it would be really great if I could add a link to a tutorial on how to query data specifically for the intermod project. e.g. create a pathways query then run it on all mines.

If database is still in use rebuilding the database hangs

I still had tomcat running while I tried to rebuild the database with
ant clean build-db
The target just hung and did not report any error.

Preferred UI: Report an message stating that the database is still in use and cannot be re-built.

The search should only point to the version of the documentation I'm reading

If I search for web service I have 3 suggestions returned. The first is related to next, the second to 4.0.0 and only the last to the current directory.
Is it possible to only show the links related to the version I'm. So if I'm reading 5.0.0, I want the result pointing to the 5.0.0, If i'am reading the 4.0.0 the result point to the 4.0.0

code examples - remove $ prompts at the start

in #35, we added a copy/paste button to the code examples throughout the docs - this is awesome, and now every code example is a click away from being copied.

The only problem - we often have $ in front of code examples, with the intent of indicating to the reader that this is a command prompt. When copy/pasting manually they would have had to manually remove the $ each time, which was perhaps a bit annoying - but with the copy/paste button we now have, the $ really needs to go.

Also, some of the code examples have filepaths. These should be deleted too. Example:

docs page: https://intermine.readthedocs.io/en/latest/get-started/tutorial/
code: https://github.com/intermine/im-docs/blob/master/docs/get-started/tutorial/index.rst

$ mkdir git
$ cd git
~/git $ git clone https://github.com/intermine/biotestmine

should become...

mkdir git
cd git
git clone https://github.com/intermine/biotestmine

if you want to pick up this task

  1. Take a look at the InterMine contributing guidelines
  2. Comment on this issue stating that you intend to work on the task
  3. When you're ready, add your work to the repo and create a pull request.

What to do if you need help

Mention @yochannah, tweet @yoyehudi, pop by to say hi on chat or if needed email [email protected]. Don't forget we're usually only available during uk office hours and will not be able to respond at other times :)

Index: Items Duplication

In the index on the left there are items duplicated.
image
Just a few examples:
Systems Requirements> System Requirements
Get Started -> Get Started
It would be great to display the index (now shown on clicking Systems Requirements> System Requirements) on the first level ( Systems Requirements).
Apply it to all the index items duplicated, including the first item Introduction -> Intermine Documentation that should only have Introduction

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.