Un repositorio para crear un sitio web para un taller
Switch branches/tags
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Update ISSUE_TEMPLATE.md Apr 8, 2018
_episodes simplify to single _episodes_rmd/data folder Jun 28, 2016
_episodes_rmd move data/ into _episodes/ and _episodes_rmd/ Jun 24, 2016
_extras Fixed typo config.yml -> _config.yml May 10, 2017
_includes merge styles v9.5.2 Jun 20, 2018
_layouts merge styles v9.5.2 Jun 19, 2018
assets Fix font size of h2 in call out box May 18, 2018
bin merge styles v9.5.2 Jun 20, 2018
code Synchronizing with new template Jun 20, 2016
data re-add ./data folder Jun 28, 2016
fig Ensure learners are on the correct branch Feb 22, 2017
files Synchronizing with new template Jun 20, 2016
setup Merge commit '74844ea43e4df102d9013eae92d19f7f924ee00b' into gh-pages Nov 9, 2015
.gitignore
.mailmap Updating .mailmap and AUTHORS before release Aug 3, 2017
.travis.yml Add Travis CI Jun 18, 2017
AUTHORS Updating .mailmap and AUTHORS before release Aug 3, 2017
CITATION Adding URL to CITATION Jul 19, 2016
CODE_OF_CONDUCT.md
CONDUCT.md Update CONDUCT.md Feb 20, 2018
CONTRIBUTING.md resolve #396 Dec 6, 2017
LICENSE.md merge styles v9.5.2 Jun 19, 2018
Makefile Merge pull request #243 from alee/docker Jun 11, 2018
README.md
_config.yml update _config.yml Jun 20, 2018
index.md minor translation fixes Jun 12, 2018
requirements.txt Synchronizing with new template Jun 20, 2016

README.md

workshop-template-es

Este repositorio contiene la plantilla con la cual puedes crear sitios web para los talleres de Software Carpentry y Data Carpentry.

  1. Por favor no hagas un fork de este repositorio desde GitHub, directamente. Utiliza el importador de GitHub siguiendo las instrucciones para copiar el repositorio workshop-template-es y, así, editarlo de acuerdo a las necesidades de tu taller.

  2. Trabaja en el branch gh-pages de tu repositorio, ya que este es el contenido que será publicado automáticamente como un sitio web por GitHub.

  3. Una vez que hayas terminado, por favor avísanos [por medio de un email] cual será la URL de tu taller. Si se trata de un taller auto-organizado, también debes [completar el formulario para talleres autoorganizados][self-organised-workshop-form], para que podamos seguir el desarrollo de todos los talleres. En nuestro sitio web, construimos una lista de talleres a partir de los datos que incluyas en tu página index.md. Sólo podemos hacer eso si editas tu página correctamente y nos informas sobre la URL del taller.

Si tienes problemas o ideas sobre cómo hacer este proceso de una forma más simple, por favor ponte en contacto. Las páginas para personalizar tu sitio web, las FAQ, y las notas de diseño tienen más detalles sobre lo que hacemos y por qué. Y ten en cuenta: si estás enseñando sobre Git, por favor [crea un repositorio aparte](# setting-up-a-separate-repository-for-learners) para que los estudiantes puedan practicar.

Creating a Repository

  1. Log in to GitHub. (If you do not have an account, you can quickly create one for free.) You must be logged in for the remaining steps to work.

  2. Go to GitHub's importer.

  3. Paste the url of this repo as the old repository to clone: https://github.com/carpentries-es/workshop-template-es.

  4. Select the owner for your new repository. (This will probably be you, but may instead be an organization you belong to.)

  5. Choose a name for your workshop website repository. This name should have the form YYYY-MM-DD-site, e.g., 2016-12-01-miskatonic, where YYYY-MM-DD is the start date of the workshop.

  6. Make sure the repository is public.

  7. At this point, you should have a page like this:

    You can now click "Begin Import". When the process is done, you will receive a message like "Importing complete! Your new repository gvwilson/2016-12-01-miskatonic is ready." and you can go to the new repository by clicking on the name.

Note: some people have had intermittent errors during the import process, possibly because of the network timing out. If you experience a problem, please re-try; if the problem persists, please get in touch.

Customizing Your Website

  1. Go into your newly-created repository, which will be at https://github.com/your_username/YYYY-MM-DD-site. For example, if your username is gvwilson, the repository's URL will be https://github.com/gvwilson/2016-12-01-miskatonic.

  2. Ensure you are on the gh-pages branch by clicking on the branch under the drop down in the menu bar (see the note below):

  3. Edit the header of index.md to customize the list of instructors, workshop venue, etc. You can do this in the browser by clicking on it in the file view on GitHub and then selecting the pencil icon in the menu bar:

    Editing hints are embedded in index.md, and full instructions are in the customization instructions.

  4. Edit _config.yml to customize certain site-wide variables, such as: carpentry (to tell us which carpentry workshop this is), title (overall title for all pages), repository (so that URLs resolve correctly both locally and on GitHub), workshop_repo (the URL of the workshop repository on GitHub) and workshop_site (the repository's GitHub Pages URL).

    Editing hints are embedded in _config.yml, and full instructions are in the customization instructions.

  5. Edit the schedule.html file to edit the schedule for your upcoming workshop. This file is located in the _includes directory, make sure to choose the one from the appropriate dc (Data Carpentry workshop), lc (Library Carpentry), or sc (Software Carpentry) subdirectory.

  6. Alternatively, if you are already familiar with Git, you can clone the repository to your desktop, edit index.md, _config.yml, and schedule.html there, and push your changes back to the repository.

    git clone -b gh-pages https://github.com/your_username/YYYY-MM-DD-site
    

    You should specify -b gh-pages to checkout the gh-pages branch because the imported repository doesn't have a master branch.

    In order to view your changes once you are done editing, you must push to your GitHub repository:

    git push origin gh-pages
    
  7. When you are done editing, go to the GitHub Pages URL for your workshop and preview your changes. In the example above, this is https://gvwilson.github.io/2016-12-01-miskatonic. The finished page should look something like this.

  8. Optional: you can now change the README.md file in your website's repository, which contains these instructions, so that it contains a short description of your workshop and a link to the workshop website.

Note: please do all of your work in your repository's gh-pages branch, since GitHub automatically publishes that as a website.

Note: this template includes some files and directories that most workshops do not need, but which provide a standard place to put extra content if desired. See the design notes for more information about these.

Further instructions are available in the customization instructions. This FAQ includes a few extra tips (additions are always welcome) and these notes on the background and design of this template may help as well.

Checking Your Changes

If you want to preview your changes on your own machine before publishing them on GitHub, you can do so as described below.

  1. Install the software described below. This may require some work, so feel free to preview by pushing to the website.

  2. Run the command

    make serve
    

    and go to http://0.0.0.0:4000 to preview your site. You can also run this command by typing make serve (assuming you have Make installed).

  3. Run the command

    make workshop-check
    

    to check for a few common errors in your workshop's home page. (You must have Python 3 installed to do this.)

(Optional) Linking to Your Page

At the top of your repository on GitHub you'll see

No description or website provided. — Edit

Click 'Edit' and add:

  1. A very brief description of your workshop in the "Description" box (e.g., "Miskatonic University workshop, Dec. 2016")

  2. The URL for your workshop in the "Website" box (e.g., https://gvwilson.github.io/2016-12-01-miskatonic)

This will help people find your website if they come to your repository's home page.

Creating Extra Pages

In rare cases, you may want to add extra pages to your workshop website. You can do this by putting either Markdown or HTML pages in the website's root directory and styling them according to the instructions give in the lesson template. If you do this, you must also edit _config.yml to set these three values:

  1. carpentry is either "dc" (for Data Carpentry), "swc" (for Software Carpentry), or "lc" (for Library Carpentry). This determines which logos are loaded.

  2. title is the title of your workshop (typically the venue and date).

  3. email is the contact email address for your workshop, e.g., gvwilson@miskatonic.edu.

Note: carpentry and email duplicate information that's in index.md, but there is no way to avoid this without requiring people to edit both files in the usual case where no extra pages are created.

Installing Software

If you want to set up Jekyll so that you can preview changes on your own machine before pushing them to GitHub, you must install the software described below. (Note: Julian Thilo has written instructions for installing Jekyll on Windows.)

  1. Ruby. This is included with Linux and macOS; the simplest option on Windows is to use RubyInstaller. You can test your installation by running ruby --version. For more information, see the Ruby installation guidelines.

  2. RubyGems (the package manager for Ruby). You can test your installation by running gem --version.

  3. Jekyll. You can install this by running gem install jekyll.

Setting Up a Separate Repository for Learners

If you are teaching Git, you should create a separate repository for learners to use in that lesson. You should not have them use the workshop website repository because:

  • your workshop website repository contains many files that most learners don't need to see during the lesson, and

  • you probably don't want to accidentally merge a damaging pull request from a novice Git user into your workshop's website while you are using it to teach.

You can call this repository whatever you like, and add whatever content you need to it.

Getting and Giving Help

We are committed to offering a pleasant setup experience for our learners and organizers. If you find bugs in our instructions, or would like to suggest improvements, please file an issue or mail us.