Giter Site home page Giter Site logo

afiqzu / peerprep Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cs3219-ay2324s1/ay2324s1-course-assessment-g23

0.0 0.0 0.0 8.34 MB

ay2324s1-course-assessment-g23 created by GitHub Classroom

License: MIT License

JavaScript 0.15% CSS 10.45% HTML 0.13% TypeScript 65.51% Dockerfile 0.57% Python 22.43% Shell 0.75%

peerprep's Introduction

Review Assignment Due Date

PeerPrep - CS3219 Grp 23

The latest deployment on google cloud can be found at http://peerprep.xyz. Make sure to go through step 6 to access full features.

Deployment

Requirements

  1. Docker: Version 24.0.5 or higher is required.
  2. Docker Compose: Version 2.20.0 or higher is necessary.
  3. Operating System: If deploying on a Linux server, only Ubuntu version 20.04 or Debian version 10 are acceptable.

Steps

  1. Clone this repository.
  2. Download the .env file from canvas and place it into the root of this repository. (If you do not have access to the .env file, you can create a new file called .env with the ENV_TYPE="prod", your POSTGRES_PASSWORD and your JWT_RS256_PRIVATE_KEY).
  3. Start the application by running the start_containers.sh script.
bash start_containers.sh

(Note: You might need to use sudo according to the permissions on your machine)

  1. If you are deploying on a remote server, make sure to open port 80.
  2. Access the website on your browser at http://<your ip address>:80 (80 is the default port for a website).
  3. (Note: This step is not required if you're deploying the application on your localhost.) Since we're using http instead of https, you'll need to edit the permissions of the site to access all the features (specifically, for video chatting).
  • For Chrome: Type <your browser>://flags/#unsafely-treat-insecure-origin-as-secure into your browser url (replace <your browser> with chrome for google chrome). This will bring you to the relevant settings. Add the url of your deployment (http://<your ip address>:80 or http://peerprep.xyz) in the text box and enable this setting.

  • For Safari: Click Safari > Preferences > Advanced and check Show Develop menu in menu bar. Select Develop in the menu bar and select WebRTC. Check Allow Media Capture on Insecure Sites

Assignments

To view/run the assignment codes, checkout to the tagged commits:

git checkout tags/Assignment-X  # where X = 1, 2, 3, 4, 5

And follow the setup instructions found in the README.md of the tagged commit.

For convenience, here are the links to the tagged commits on GitHub:

peerprep's People

Contributors

evitanrelta avatar swxk19 avatar afiqzu avatar yaladah avatar lava-iris avatar github-classroom[bot] 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.