All Projects → creativecommons → creativecommons.github.io-source

creativecommons / creativecommons.github.io-source

Licence: MIT license
Source files for CC Open Source website

Programming Languages

HTML
75241 projects
javascript
184084 projects - #8 most used programming language
SCSS
7915 projects
python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to creativecommons.github.io-source

legaldb
CC Legal Database: curated repository of Case Law and Scholarship data from around the world in a Django based website.
Stars: ✭ 22 (-56.86%)
Mutual labels:  creative-commons, hacktoberfest2020
RTU-DigitalLibrary
This is an opensource repository by Rajasthan Technical University for all engineering students and the folders contain codes written in different programming languages. You can even add a folder of say, Javascript or Php, if your language isn't listed. Happy coding everyone.
Stars: ✭ 19 (-62.75%)
Mutual labels:  hacktoberfest2020
flutter-simple-url-preview
Simple url preview package for flutter
Stars: ✭ 30 (-41.18%)
Mutual labels:  hacktoberfest2020
ccsearch-browser-extension
[PROJECT TRANSFERRED] Cross-Browser extension to search, filter and use images in the public domain and under Creative Commons licenses.
Stars: ✭ 115 (+125.49%)
Mutual labels:  creative-commons
flutter simple shopify
No description or website provided.
Stars: ✭ 83 (+62.75%)
Mutual labels:  hacktoberfest2020
robotframework-seleniumtestability
Extension for SeleniumLibrary that provides manual and automatic waiting for asyncronous events like fetch, xhr, etc.
Stars: ✭ 34 (-33.33%)
Mutual labels:  hacktoberfest2020
awesome-ufma
Uma lista de provas das disciplinas ministradas na Universidade Federal do Maranhão.
Stars: ✭ 63 (+23.53%)
Mutual labels:  hacktoberfest2020
data-structures-algorithms-interviews
👨‍💻 Repo contains my solutions to coding interview problems on various platforms. Will later convert into a React based web app for personal revision.
Stars: ✭ 16 (-68.63%)
Mutual labels:  hacktoberfest2020
javascript-jokes
PR your joke if you know good ( or horrible ) js joke . I will post it on coding valley's insta page.
Stars: ✭ 66 (+29.41%)
Mutual labels:  hacktoberfest2020
Leetcoding-Challenge
This repository contains Leetcode Challenge Submissions.
Stars: ✭ 26 (-49.02%)
Mutual labels:  hacktoberfest2020
challenges-back-end
Repositório referente à desafios de Back End da womakerscode
Stars: ✭ 68 (+33.33%)
Mutual labels:  hacktoberfest2020
locus-android
An Awesome Kotlin Location library to retrieve location merely in 3 lines of code
Stars: ✭ 280 (+449.02%)
Mutual labels:  hacktoberfest2020
lovelace-light-soft-ui-theme
🎨 Home Assistant soft UI light theme, with help from @JuanMTech, @thomasloven, and @N-l1.
Stars: ✭ 59 (+15.69%)
Mutual labels:  hacktoberfest2020
Sketch2Color-anime-translation
Given a simple anime line-art sketch the model outputs a decent colored anime image using Conditional-Generative Adversarial Networks (C-GANs) concept.
Stars: ✭ 90 (+76.47%)
Mutual labels:  hacktoberfest2020
TraduXio
A participative platform for cultural texts translators
Stars: ✭ 19 (-62.75%)
Mutual labels:  creative-commons
kubetools
Kubetools - Curated List of Kubernetes Tools
Stars: ✭ 674 (+1221.57%)
Mutual labels:  hacktoberfest2020
My-Digital-CV
My Digital CV is Interactive Virtual Resume Template which provides basic functionality to develop your own Digital Resume/CV
Stars: ✭ 18 (-64.71%)
Mutual labels:  hacktoberfest2020
SquirrelJME
SquirrelJME is a Java ME 8 Virtual Machine for embedded and Internet of Things devices. It has the ultimate goal of being 99.9% compatible with the Java ME standard.
Stars: ✭ 148 (+190.2%)
Mutual labels:  hacktoberfest2020
generate-express
Express generator CLI with es6+ support and your choice of database config
Stars: ✭ 17 (-66.67%)
Mutual labels:  hacktoberfest2020
hacktoberfest-participants
🎃 A platform that showcases a list of all the hackers (including their stats), participated in the month-long challenge Hacktoberfest presented by DigitalOcean.
Stars: ✭ 38 (-25.49%)
Mutual labels:  hacktoberfest2020

creativecommons.github.io-source

Source for creativecommons.github.io

Overview

⚠️ DO NOT MAKE CHANGES TO THE creativecommons/creativecommons.github.io REPO DIRECTLY.

This site is built using Lektor. All changes to opensource.creativecommons.org (creativecommons.github.io) must be made here and deployed via lektor (see Deployment, below).

Code of Conduct

CODE_OF_CONDUCT.md:

The Creative Commons team is committed to fostering a welcoming community. This project and all other Creative Commons open source projects are governed by our Code of Conduct. Please report unacceptable behavior to [email protected] per our reporting guidelines.

Contributing

Installation

Prerequisites

Make sure you have:

To install these, execute the following commands:

Installing Project Requirements

  1. Clone this repository.
  2. Open your command line interface change directories to the repository root directory.
  3. Create a Python virtual environment and install the requirements for this project:
    pipenv install --dev
    

pipenv Troubleshooting

pipenv doesn't always provide the best error messages (Provide better error message if the project’s virtual environment is broken). If all else fails, try removing the virtual environment and reinstalling:

  1. Remove virtual environment:
    pipenv --rm
    
  2. Install virtual environment (including dev packages):
    pipenv install --dev
    

Development

  • Start the Lektor development server:
    pipenv run lektor server -f webpack
    
  • You will be able to see the website at 127.0.0.1:5000/.
    • The Lektor server will rebuild the site every time you change any content.

Troubleshooting Possible Errors

  • Should you get series of type errors that looks something like npm ERR! typeerror Error: Missing required argument #1, after running pipenv run lektor server -f webpack, this is most likely due to running an older version of Node.js.

    As stated above in Prerequisites, you should be running Node.js version 12+.

  • Should you get an OSError: [Errno 28] inotify watch limit reached after running any command, this means that your system file watcher is running out of allotted handles, usually because the workspace is large and contains many files.

    The solution is to run:

    sudo sysctl fs.inotify.max_user_watches=524288
    

    This increases your inotify watch limit (for the session) to 524288, which is the maximum value and is also enough to allow the setup go through. You can learn more about file watchers from this blog post or from the VS Code documentation.

Deployment

We have continuous deployment set up. To deploy, push your code to the main branch (or make a pull request against the main branch. GitHub Actions builds and deploys the site whenever it detects new commits on the main branch.

The GitHub Actions configuration is located at .github/workflows/lektor-build-deploy.yml.

Manual Deployment

⚠️ For reference only, you should not need to not do this.

When you are ready to deploy a new version of the site, run lektor deploy (assuming you have your GitHub SSH key already set up and you have access to the creativecommons/creativecommons.github.io repository). That's it, it's live on production!

Project Structure

Here's how the code is structured in the top level of the repository:

  • assets: This directory contains the JavaScript and CSS files for the project built via webpack. Most of the JavaScript and CSS is third-party code and loaded via CDN so this is pretty empty.
  • content: The content of the site lives here. Here's an explanation of how content works in Lektor. This is probably what you'll be modifying most often.
  • models: All content in Lektor is associated with data models to define their schema. Currently, we only use the default page model that ships with Lektor.
  • templates: This is where the Jinja2 templates that render content are stored. See the Lektor template documentation for more information.
  • webpack: This is where all the webpack config files as well as Sass and JavaScript files for the project resides. The JavaScript and Sass files are compiled and saved in the assets folder during lektor build process.

Lektor Plugins

Redirects

  • /cc-vocabulary/ to https://cc-vocabulary.netlify.com/
    • Added so that the opensource.creativecommons.org/cc-vocabulary/ will continue to work with that project moving to utilize Netlify.
  • /cc-vue-vocabulary to https://cc-vue-vocabulary.netlify.com/
    • Added so that the opensource.creativecommons.org/cc-vue-vocabulary/ will continue to work with that project moving to utilize Netlify.
  • /cc-fonts to https://cc-fonts.netlify.com/
    • Added so that the opensource.creativecommons.org/cc-fonts/ will continue to work with that project moving to utilize Netlify.

External Data

The following load external data:

License

Code

Content

CC BY 4.0 license button

All the content within this repository is licensed under a Creative Commons Attribution 4.0 International License unless otherwise specified.

Font Awesome

This repository contains PNG icons that were converted from Font Awesome SVGs:

Font Awesome Free is free, open source, and GPL friendly. You can use it for commercial projects, open source projects, or really almost whatever you want. (Full Font Awesome Free license: https://fontawesome.com/license/free)

Icons: CC BY 4.0 License (https://creativecommons.org/licenses/by/4.0/) In the Font Awesome Free download, the CC BY 4.0 license applies to all icons packaged as SVG and JS file types.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].