HackOurCampus
Contributors: Alanna Zhou
Last updated
Contributors: Alanna Zhou
Last updated
Welcome to AppDev's Backend HackOurCampus workshop! Here are some things to complete before coming so that you're prepared (ノ◕ヮ◕)ノ*:・゚✧
The Fall 2020 course instructors, Alanna Zhou and Alicia Wang, will be leading this workshop--don't be afraid to find us on the hackathon Discord to reach out and ask us questions!
Any text editor like Vim, Sublime Text, Atom, or Emacs all work just fine! Our course instructors and TAs prefer VSCode if you can't choose.
Before you do anything, make sure that you have a version of Python3 installed (Python 3.7.6 is a good choice if you can't decide). Python2 may work, but you might run into some package issues.
Check your Python versions to make sure you'll be using the right one. Notice that if you have both Python2 and Python3, you may have to use python3
when you're running it as a command so that your computer knows only to use version 3.
Make sure to unzip this and that you're able to open this in your text editor once the workshop starts!
Once you unzip the starter code, you should have a folder named src
with three items:
app.py
db.py
requirements.txt
We will be writing code in app.py
and db.py
. However, in order to write that code, we'll have to install some packages, which are included in requirements.txt
. You can install them by running pip3 install -r requirements.txt
. You should already have pip
on your computer, but here are some commands to help if you don't: