Project

General

Profile

« Previous | Next » 

Revision 53332

updated README

View differences:

README.txt
51 51
3.4 Modify the output file by changing X.Y to the actual version you are working with
52 52
3.5 Click on `Generate`.
53 53
3.6 Check the documentation is currently stored under `schema/X.Y/doc` and images under `schema/X.Y/doc/img`
54
3.7 Create a symlink for `doc/oaf-X.Y.html` with a name with no version (needed to have a clean URL for the entry point to the latest documentation)
55
    > cd schema/X.Y/doc
56
    > ln -s oaf-X.Y.html oaf.html
54 57
4. Commit the `schema/X.Y/doc` folder
55 58
5. Go to the OpenAIRE server via ssh (new.openaire.eu) and update the schema folder:
56 59
    > sudo su - www-data -s /bin/bash
57 60
    > cd /var/www/schema
58 61
    > svn up
59 62
    Now https://www.openaire.eu/schema/X.Y/oaf-X.Y.html should be accessible. Check it.
60
6. Update the `latest` link   
61
6.1 Update the `latest` linkon your local copy of https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-schema/trunk
62
    > cd schema
63
    > rm latest
64
    > ln -s X.Y latest
65
    > svn commit latest -m "updated latest link to version X.Y"
63
6. Update the `latest` folder   
64
6.1 Update the `latest` on your local copy of https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-openaire-schema/trunk
65
    > cd schema/latest
66
    > rm -rf *
67
    > ln -s ../X.Y/oaf-X.Y.xsd oaf.xsd
68
    > ln -s ../X.Y/oaf-common-X.Y.xsd oaf-common-X.Y.xsd
69
    > ln -s ../X.Y/oaf-datasource-X.Y.xsd oaf-datasource-X.Y.xsd
70
    > ln -s ../X.Y/oaf-org-X.Y.xsd  oaf-org-X.Y.xsd
71
    > ln -s ../X.Y/oaf-person-X.Y.xsd oaf-person-X.Y.xsd
72
    > ln -s ../X.Y/oaf-project-X.Y.xsd oaf-project-X.Y.xsd
73
    > ln -s ../X.Y/oaf-result-X.Y.xsd  oaf-result-X.Y.xsd
74
    > ln -s ../1.0/doc doc 
75
    > svn commit latest -m "updated latest links to version X.Y"
66 76
6.2 Update again on the OpenAIRE server folder
67 77
    > sudo su - www-data -s /bin/bash
68 78
    > cd /var/www/schema
69 79
    > svn up
80
6.3 Check the latest links refer to the new schema:
81
    * https://www.openaire.eu/schema/latest/oaf.xsd
82
    * https://www.openaire.eu/schema/latest/doc/oaf.html
83
7. Update the API documentation following instructions on https://svn.driver.research-infrastructures.eu/driver/dnet45/modules/dnet-api-http-doc/
70 84

  

Also available in: Unified diff