Git Product home page Git Product logo

lapp's Introduction

DjangoLibraryApp

A web application which manages a virtual database of library books and clients, built using the Django framework.

Usage

  • Clone this repository into a folder of your choice

  • Install Virtualbox

  • Install Vagrant

  • Use the 'cd' command to navigate into the project directory from the CLI, and run 'vagrant up' to build and start the VM.

  • Run 'vagrant ssh' to SSH into the VM

  • cd into the project directory (it should be a sub-folder of the initial working directory)

  • Run 'python manage.py shell' to bring up a Python shell

  • Type 'execfile('ImportScript.py')' in the python shell to import test books into the database.

  • Type 'execfile('SetupScript.py')' in the python shell to creates test shelves, libraries, and assign random books to shelves.

  • Run 'python manage.py runserver 0.0.0.0:8000' to bring up the test server

  • Point your web browser to localhost:8080 to use the web app. Go to localhost:8080/admin to use the administrative control panel. Username for both is root, Password for both is toor.

  • When you are done with work, press Ctrl+C to kill the server, type 'exit' to exit the SSH session, and type 'vagrant halt' in the project directory to shutdown the VM

  • Next time, you want to use the VM, just type 'vagrant up'; this time the VM will be already built. Then enter the project directory and run the server as before.

  • If there are any questions, feel free to email me at [email protected] or [email protected].

lapp's People

Contributors

gscoppino avatar nathanaelthompson avatar

Watchers

 avatar John 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.