Skip to content

Latest commit

 

History

History
76 lines (49 loc) · 2.74 KB

README.md

File metadata and controls

76 lines (49 loc) · 2.74 KB

This is the default theme for the Pybossa server.

Shuttleworth Foundation Funded

PyBossa was inspired by the BOSSA crowdsourcing engine but is written in python (hence the name!). It can be used for any distributed tasks project but was initially developed to help scientists and other researchers crowd-source human problem-solving skills!

See it in Action

PyBossa powers CrowdCrafting.org and ForestWatchers.net

Installing and Upgrading

This theme is automatically grabbed and installed in the PyBossa server when you clone the server with the option --recursive, as this theme is included as a sub-module in PyBossa.

Modifying VueJS components

PYBOSSA is using VueJS for some of its components. For example, creating and editing blog posts is done via the API using a VueJS App.

All the code is going to be usually installed in the /static/src folder, but it may vary in the future. Check for each template, and see from where it comes.

Once you know the folder, just get it there. Then, review the webpack config file, and modify the code that you want. We use babel, so you will see modern JavaScript in there.

For more information about how to modify/edit/improve VueJS, just check the docs of the official site.

Translations

If you want to enable the translations for your PyBossa server, you'll have to create a symbolic link of the translations folder into the pybossa root folder:

ln -s pybossa/themes/pybossa-default-theme/translations pybossa/translations

Then, restart the server and you'll be done. NOTE: be sure to enable/disable the locales that you want to use.

Creating a new theme

In order to create a new theme, fork this repository and make all the required changes in the templates and static folder.

Useful Links

Contributing

If you want to contribute to the project, please, check the CONTRIBUTING file.

It has the instructions to become a contributor.

Copyright / License

Copyright 2015 SciFabric LTD.

Source Code License: The GNU Affero General Public License, either version 3 of the License or (at your option) any later version. (see COPYING file)

The GNU Affero General Public License is a free, copyleft license for software and other kinds of works, specifically designed to ensure cooperation with the community in the case of network server software.

Documentation and media is under a Creative Commons Attribution License version 3.