Github repostory is here -> https://github.com/rustyb/ee-present/tree/master
Readme file has all the information you need to know. The text below will not always be the same as the readme.
Find the site at docs.entsoe.eu/baltic-conf/ee-present/
Updating the presentation list
In the data folder you will see an excel file called presentations1.xlsx.
When wanting to update the list of presentations used for the search you should first edit this file.
When happy with that you should open your terminal and change directory to the following path and run these commands:
cd ~/git*/ee-present workon ee-py3 cd data python makeCSV.py
This will output 2 CSV files into this directory. Next you can run the following command to generate the results.json file used for creating the index:
A bunch of output will be printed to the terminal.
Next you should open sublime text by running
subl . in the terminal.
data folder and look for a file called
results.json. Open this file.
Copy the entire contents of this file using CMD + C.
Next open the file
_includes/serch.html. Look for the section that begins like so:
You need to paste in the new content to replace all the items after
list = be careful to copy over all the block and curely brackets. (
Testing the site locally
With your terminal open and the path in the root directory of this repo.
Run the following to start the local Jekyll development server.
Open http://localhost:4000](http://localhost:4000) in your browser.
Deploy site when happy
When happy with your changes you can do the following:
Look for changes in the repo.
You should see that search has changed. Will be in the green text at the top.
Commit these changes to the repo and then push them to github where they will be published to our web server:
git commit -am "updated the presentations for search" git push
Open your browser and visit https://docs.entsoe.eu/baltic-conf/ee-present/.
You should then see your changes in all their glory.