Code Monkey home page Code Monkey logo

car-rental-webapp's Introduction

A repository for the fall 2021 CPSC 471 final project

Instructions on how to run:

  1. Included in the project folder are multiple virtual environment folders. The folders named venv are for linux and the folder named venv-windows (currently in a zip file) is for windows.

  2. Activate the python virtual environment via the commandline. If you are on windows, make sure you have virtualenv installed with pip and run with administrator. If you are still having issues, try Set-ExecutionPolicy Unrestricted -Scope Process if activate is saying you don't have permissions, or try the linux version.

  3. To run the api, run the api.py file in the API folder with python3 or python, whichever works

  4. To run the web page, run the run.py file in the webApp folder with python3 or python, whichever works
    NOTE: if none of the above works, last ditch attempt is to install all the needed dependencies outside of the venv
    Also make sure you are using the right venv folder on linux, the ones in the respective directory for what you are trying to run

    You also must have a MySQL server running with the settings described in each app, namely these settings:
    user='user', password='password', host='127.0.0.1', database='rentalcompany'
    This database can be populated using the sql dump file contained in the repository

car-rental-webapp's People

Contributors

evyn710 avatar jonmulyk avatar john-abo avatar

Watchers

 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.