This is a Employee Catalog application developed using python flask.
It lists latest 10 employees on the home page. It also has department wise employee listing.
Authentic users can create, update or delete records.
- Google Chrome
- Virtual box
- Vagrant machine
- Python3.0
- SQL Alchemy
- Flask
- Google account login
Step 1 - Install Virtual box Install Virtual Box from https://www.virtualbox.org/.
Step 2 - Install and Setup vagrant machine Install vagrant machine from https://www.vagrantup.com/. Locate vagrantfile and run gitbash in that directory Execute 'vagrant up' to set up vagrant machine Run 'vagrant ssh' change directory with 'cd /vagrant' command.
Step 3 - Setup application Execute below commands in sequence to setup database and load initial data.
- python3 database_setup.py
- python3 Department.py
- python3 data_update.py
- python3 userupdate.py
Step 4 - Run application
- In same gitbash run python3 Employee.py
- Open Google Chrome and load http://localhost:5000
Accessing localhost:5000 will load the Employee Catalog Home page. You need to sign in with your google account to access the employee details. You need to be signed in for Creating, Updating or Removing the record from the catalog.
#Vasudha Lalit
- Udacity