This class covers basics of HTML and CSS, using bottle.py as the framework.
To install bottle, you can do:
conda install -c conda-forge bottlepip install bottleYou can find here the documentation for bottle.
To get the code we are covering in class, do as follows.
If you use HTTPS to access bitbucket:
git clone https://luca_de_alfaro@bitbucket.org/luca_de_alfaro/bottle_intro.gitIf you use ssh (I recommend ssh if you are going to host there your private repositories):
git clone git@bitbucket.org:luca_de_alfaro/bottle_intro.gitgit checkout fall-2018I updated this to the status at the end of the class. If you look at the history of commits, you can see the code we developed during class.
To fetch the new code:
git fetchTo go to a particular branch:
git checkout <branch>To start your own branch:
git checkout -b my-branchTo merge another branch into your own:
git checkout my-branch # if neededgit merge other-branch