This repo holds vagrant/vm projects for Udacity's Full Stack Web Development nanodegree projects.
- Get VirtualBox from Oracle, install it (no need to launch or do anything else).
- Get Vagrant, install it.
- Clone/download this repo.
- Using terminal/command line, navigate to "(your path)\fullstack-nanodegree-vm\vagrant" subdirectory
- Use command "vagrant up".
- If everything went well, you can now use command "vagrant ssh" to access terminal console of the project system installation. Please note that this will be not possible without SSH client installed on the host machine. Cygwin, MinGW or Git come with this client.
- Typing "..\..\vagrant" will move you to the right directory, from which you can select project.
Description: Swiss style tournament postgreSQL database, with Python functions operating on it.
Database installation:
-
Navigate to subdirectory "tournament"
-
Run command "psql" to enter postgreSQL console
-
Run "\i tournament.sql", which will create database "tournament" with all required tables and views
-
Run command "\q" to leave psql environment
Testing: To test out, you simply run command "python tournament_test.py" from "tournament" subdirectory.
Refer to comments in code of "tournament.py" for further description of all functions.
Description: Catalog web app with working database, login/logout through Google and Facebook, CSRF protection
Database installation:
-
Navigate to subdirectory "catalog"
-
Run command "psql" to enter postgreSQL console
-
Run "CREATE DATABASE catalogwithusers;" command
-
Run command "\q" to leave psql environment
-
Run command "python database_setup.py"
... need to add more ...