This was made to start learn delveloping with frameworks on Back-end developer Udacity nanodegree In this exercises, i made a web app to list names of restaurants and the specific menu from each restaurant using a real database and tables
Install VirtualBox and Vagrant:
-
Download Virtualbox Here
-
Download Vagrant Here
-
If you is a back-end developer nanodegree student, you can Download the Vagrant File with the configurations in This Link
If not Download or Clone this repository -
Download the content of this current repository, by either downloading or cloning it from Here, you will need this files to run the project on next steps!
-
Launch the Vagrant VM inside Vagrant sub-directory in the downloaded fullstack-nanodegree-vm repository using command:
$ vagrant up
-
Then Log into this using command:
$ vagrant ssh
-
Change directory to /vagrant and look around with ls.
-
Copy the content downloaded before from my Repository and paste in this folder!
-
In the virtual machine run the database_setup.py
$ python3 database_setup.py
-
Populate the database running lotofmenus.py
$ python3 lotofmenus.py
- From the vagrant directory inside the virtual machine, run the file project.py using:
$ python3 project.py