Coder Social home page Coder Social logo

upovrs's Introduction

University of the Philippines Online Venue Reservation System (UPOVRS)

The aim of this project is to give a convenient way for organizations (within the university) to process their reservations and easier management for the offices involved in the reservation process.

Requirements

- Python 3
- Postgres (database)
- Django
- virtualenvwrapper

Developement Setup

  1. Install Python3 (if you don't have it) via Homebrew in MacOs or apt-get in Ubuntu.

  2. Setup project environment with virtualenv. You can follow these intallation guide here.

  3. Now add environment variables to your shell startup file (.zshrc or .bashrc) and activate the virtualenvwrapper.

    export WORKON_HOME=$HOME/.virtualenvs
    export PROJECT_HOME=$HOME/Devel
    source /usr/local/bin/virtualenvwrapper.sh
    
  4. Install and run PostgreSQL. Ubuntu/Debian:

    sudo apt-get install postgresql postgresql-contrib
    

    Enter psql mode by:

    sudo -u postgres psql
    

    Then create database and grant privileges to the created user. Let's have upovrs as sample database name and personnel as user.

    CREATE DATABASE upovrs;
    CREATE USER personnel WITH PASSWORD 'upovrs';
    GRANT ALL PRIVILEGES ON DATABASE upovrs TO personnel;
    
  5. Clone the upovrs project.

  6. Activate the project's virtualenv and run this command to install the initial package requirements:

pip install -r <path_to_requirements.txt>
  1. Import the database models.
python manage.py migrate
  1. Now you're ready to go. Give the project a little nudge and then check your localhost.
python manage.py runserver

upovrs's People

Contributors

maharleeeka avatar jessduran avatar dependabot[bot] avatar faielomente avatar starrajane avatar brammittendorff avatar

Stargazers

Jones Joseph Mandiadi avatar

Watchers

 avatar Charie Mae  avatar  avatar  avatar Jannielyn Acha avatar

upovrs's Issues

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.