Skip to content

ImperialNLP/imperialnlp.github.io

 
 

Repository files navigation

Building the NLP website

Imperial NLP Website: [https://nlp.doc.ic.ac.uk]

Summary of what you need to do: (see below for details)

  1. Auto-Update profiles (see also assets/downloads/run_profiles.sh)
  2. Auto-Update bib entries (see also assets/downloads/run_bib.sh)
  3. Download images (see below for files; put them under: assets/img/team )
  4. Push to repo

Step1: Auto-update Profile:

See also: assets/downloads/run_profiles.sh

  1. Download table (it will have the name NLPLists(People).csv)

  2. Generate example profiles: Run:

python3 convert.py
  1. IF READY TO OVERRIDE PRODUCTION: Run:
python3 convert.py production

Step 2: Auto-update __bibliography/papers.bib:

See also: assets/downloads/run_bib.sh

  1. Download Bib files (as e.g. .zip file) from:

  2. Generate BIB entries (PRODUCTION):

python3 transform_bibtext.py production

Step 3: Download images:

  1. Download Bib files from:

Step 4: To deploy website automatically

  1. Test locally. See below!

  2. WARNING!!! If you are READY. Commit and push to repo this will trigger a full redeployment and update the live website.


Testing website locally:

  1. Prerequisites:

  2. Installation, from the repo root (i.e. top level directory of the repo).

bundle install
  1. Running locally, from the repo root (i.e. top level directory of the repo).
bundle exec jekyll serve -l -H localhost

Where does stuff live?

Code lives on github: [https://github.com/ImperialNLP/imperialnlp.github.io]

It consists of:

  1. Spreadsheet URL: (Keeps track of people as a spreadsheet) (NLPLists.xlsx)[https://imperiallondon-my.sharepoint.com/:x:/g/personal/nr1713_ic_ac_uk/ERCE5U1KziNMklc5wWLDcQEBu73pj8BkJvrJiKg2yT0NTw?e=KiRNiE]

  2. Bibliography Folder: (Keeps track of papers in form of .bib files) [attached is a screenshot that describes what is what in each bib entry] Bibliography [https://imperiallondon-my.sharepoint.com/:f:/g/personal/nr1713_ic_ac_uk/Et2ck1_xp7FIg9rupamDGa8B7kFHGBFfQdeeoDMfOUzWwQ?e=gLqVrb]

  3. Images Folder: (Keeps track of photos for people and other images) [profile pictures should be ideally in square format] Images [https://imperiallondon-my.sharepoint.com/:f:/g/personal/nr1713_ic_ac_uk/EhtrbA5yP3xFqz9J98mmq9gBtUVx5VZP8ogeZa5IX4aNqw?e=lG1evL]

List of maintainers:

About

Imperial NLP Group website.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 84.8%
  • HTML 6.9%
  • TeX 5.0%
  • SCSS 1.9%
  • Python 0.9%
  • Shell 0.3%
  • Other 0.2%