Difference between revisions of "Resources"
Jump to navigation
Jump to search
Erno Mäkinen (talk | contribs) (Added Flickr and Map Warper API docs links) |
Erno Mäkinen (talk | contribs) (Add instructions to update the wikidocumentaries-demo.wmflabs.org from GitHub) |
||
Line 8: | Line 8: | ||
* '''[https://github.com/Wikidocumentaries Wikidocumentaries Github repository]''' | * '''[https://github.com/Wikidocumentaries Wikidocumentaries Github repository]''' | ||
* '''[https://phabricator.wikimedia.org/tag/wikidocumentaries/ Wikidocumentaries Phabricator project]''' | * '''[https://phabricator.wikimedia.org/tag/wikidocumentaries/ Wikidocumentaries Phabricator project]''' | ||
+ | |||
+ | === Updating wikidocumentaries-demo.wmflabs.org code from GitHub === | ||
+ | |||
+ | # Login with SSH to the hupu server | ||
+ | # Run: | ||
+ | #: <code>sudo -s</code> | ||
+ | # Run: | ||
+ | #: <code>sudo -s -u wikidocumentaries-web</code> | ||
+ | # Run: | ||
+ | #: <code>script /dev/null/</code> | ||
+ | # To see detached screens (there should be two, one for wikidocumentaries-ui and one for the wikidocumentaries-topic-search-api), run: | ||
+ | #: <code>screen -ls</code> | ||
+ | # Restore a screen (replace the last parameter with the actual screen id), e.g. run: | ||
+ | #: <code>screen -r 24566.pts-4.hupu</code> | ||
+ | # Stop the running node ui/api app, press: | ||
+ | #: <code>ctrl+c</code> | ||
+ | # Pull changes from the GitHub (and if needed resolve conflicts), run: | ||
+ | #: <code>git pull origin master</code> | ||
+ | # Start the node ui/api app again, run: | ||
+ | #: <code>npm run dev</code> | ||
+ | # Exit from the screen, press: | ||
+ | #: <code>ctrl+a+d</code> | ||
+ | # Restore the other screen and update the app following again from the step 7 to the step 11 | ||
+ | # Exit the script and then from the wikidocumentaries-web shell and root shell, press: | ||
+ | #: <code>ctrl+d</code> and again <code>ctrl+d</code> and again <code>ctrl+d</code> | ||
+ | # You have succesfully updated the wikidocumentaries-ui/wikidocumentaries-topic-search-api and may now logout from the hupu server | ||
== Wikimedia developer resources == | == Wikimedia developer resources == |
Revision as of 14:47, 28 November 2018
Contents
Communication & community
- Wikidocumentaries blog The blog features articles about activities created around Wikidocumentaries. Articles can be published in Finnish and English.
- Wikidocumentaries Facebook group. The group is primarily for informing about future events and promoting related events. Events can be multilingual, currently in Finland primarily.
- Wikidocumentaries Slack channel The network of project partners preparing events and funding applications collaboratively.
Wikidocumentaries for developers
Updating wikidocumentaries-demo.wmflabs.org code from GitHub
- Login with SSH to the hupu server
- Run:
sudo -s
- Run:
sudo -s -u wikidocumentaries-web
- Run:
script /dev/null/
- To see detached screens (there should be two, one for wikidocumentaries-ui and one for the wikidocumentaries-topic-search-api), run:
screen -ls
- Restore a screen (replace the last parameter with the actual screen id), e.g. run:
screen -r 24566.pts-4.hupu
- Stop the running node ui/api app, press:
ctrl+c
- Pull changes from the GitHub (and if needed resolve conflicts), run:
git pull origin master
- Start the node ui/api app again, run:
npm run dev
- Exit from the screen, press:
ctrl+a+d
- Restore the other screen and update the app following again from the step 7 to the step 11
- Exit the script and then from the wikidocumentaries-web shell and root shell, press:
ctrl+d
and againctrl+d
and againctrl+d
- You have succesfully updated the wikidocumentaries-ui/wikidocumentaries-topic-search-api and may now logout from the hupu server
Wikimedia developer resources
Wikimedia Cloud Services
- Get a Wikimedia account (the same account for all Wikipedias, Wikimedia Commons, Wikidata etc.)
- Get the Wikimedia developer account. The same key and password let you access The Wikimedia Cloud Services at https://wikitech.wikimedia.org and the git repositories located at https://gerrit.wikimedia.org/.
- Create an account in Wikimedia Phabricator
https://wikitech.wikimedia.org/wiki/Main_Page
https://wikitech.wikimedia.org/wiki/Help:Access
MediaWiki
- https://www.mediawiki.org/wiki/API:Tutorial
- https://en.wikipedia.org/w/api.php Wikipedia API help
Wikibase
The Wikibase setup including MediaWiki, Wikibase and the SPARQL endpoint are included in a Docker compose at https://github.com/wmde/wikibase-docker/blob/master/README-compose.md
Wikidata
- Wikidata Query Service - SPARQL
- Wikidata API help - MediaWiki API
Wikimedia Commons
- Wikimedia Commons API help - MediaWiki API
Front end
Vue.js
Current (17.10.2018) Wikidocumentaries UI is built with Vue.js
Surveyor geotagging tool
- Surveyor at New York Public Library
- Surveyor GitHub repository
- Leaflet.GeoTagPhoto plugin
- brick-by-brick JSON API
React
Current (17.10.2018) Surveyor UI is built with React
Vue.js and React together
- https://x-team.com/blog/react-vue-component-integration/
- vuera - Vue in React, React in Vue
Leaflet
OpenLayers
API documentations for media services
Finna
Flickr
- Flick API Docs - Includes useful API Explorer
API documentations for map services
Map Warper
Misc.
- Stack Overflow - Developer Community Q&A & knowledge sharing
About | Technology | Design | Content modules | Tool pages | Projects |
Status
Wikidocumentaries Slack |
Setting up dev environment |
Components |
Active modules Module ideas |
Visual editor | Central Park Archives |