RESTful web service for my random projects
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
static
templates
tests
README.md
Vagrantfile
__init__.py
database_setup.py
pg_config.sh

README.md

Experimental Server

This is server code for a RESTful web service created with Python and the Flask microframework. This web service used to sit on a digitalocean droplet.

Currently supported REST clients

  • To Dooli: A to do list application. View Code

Technologies Used

Setup

  1. After cloning this repo to your machine, cd into 'Experimental_Server'.
  2. Enter the command vagrant up. This command can take awhile to run. Ignore the error default: stdin: is not a tty.
  3. Enter the command vagrant ssh.
  4. Once vagrant is up and running cd into '/vagrant'.
  5. Create the data tables using the python database_setup.py command.
  6. (Optional) Then use the python populate_database.py command to add some filler data.
  7. At this point, all the data should be setup. You can launch the application using the python __init__.py command. Just open up a browser and navigate to 'localhost:5000'.

Helpful Resources

Author

Geordy Williams