Coder Social home page Coder Social logo

flask-mongo-app's Introduction

flask-mongo-app

A Python Flask Web App Development Skeleton using mongoDB featuring javascript.

I wanted to learn some neat tools so I created this project to tie a few interesting things together. After you start up the virtual machine, you will be able to query the database which dynamically generates a templated javascript map to view GPS coordinates and information based on zipcodes.

Screenshot

Screen Shot

Try it out!

Bring up the virtualmachine and provision the server

$ vagrant up

Point your browser at

http://localhost:5000/

Cleaning up

$ vagrant destroy

If you accidently delete the dir before doing destroy

$ VBoxManage list vms
$ VBoxManage unregistervm flask-app-server –delete

####Requires:

  • Vagrant -- sudo apt-get install vagrant 1.2.2
  • VirtualBox -- sudo apt-get install virtualbox-4.2

####Built On:

####TODO:

####Issues:

  • sometimes have to vagrant ssh && sudo supervisorctl start flask-mongo-app

####Notes:

  • bootstrap.sh does a one-time install of ansible to get the ball rolling
  • mongodb stores its data files in /var/lib/mongodb/
  • mongodb stores its log files in /var/log/mongodb/

####My workflow:

  • git config --global user.name 'Your Name'
  • git config --global user.email your@email
  • git pull
  • edit some code
  • git add
  • git commit -am 'fixed some bugs'
  • git push -u origin master

####Thanks to:

Contributing

  1. Fork it.
  2. Create a branch (git checkout -b my_new_feature)
  3. Commit your changes (git commit -am "Added Cool Thing")
  4. Push to the branch (git push origin my_new_feature)
  5. Open a Pull Request
  6. Enjoy a few plumphelmets while you wait cuz I've never done this before.

flask-mongo-app's People

Contributors

ubergarm avatar sailakshmiv avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.