Learn to build a basic web app! This covers the process of learning to build a web app in Flask.
Run the following in the root directory:
./build.sh
This generates .html
files to be viewed in a browser.
Run the following command to deploy to learn.adicu.com/webdev (requires SCP and access to adi-website on SSH):
./deploy.sh
All solutions are available by section in the solutions/
folder.
We support running with vagrant! Install and setup Vagrant, and then:
$ vagrant up # launches the box
$ vagrant ssh # ssh into the box
# You are now in the vagrant instance
$ cd /vagrant # go to the code
$ cd <solutions folder> # Ex: cd webdev-solutions/1.3.2\ Dynamic\ Routes
# Run the solution # Ex: python app.py
This is where all the extra files needed to convert from markdown to HTML go. build.sh
uses the files from this folder.
All images for the project should be put in here.