Giter Site home page Giter Site logo

aberdeen-university-filmmaking-society / website Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 27.32 MB

Official website for AUFS (Aberdeen University Filmmaking society)

Home Page: https://aufilmmaking.co.uk/

License: GNU General Public License v3.0

JavaScript 87.95% CSS 3.22% HTML 2.91% PHP 0.03% SCSS 0.06% EJS 5.83%
university aberdeen filmmaking aufs

website's Introduction

AUFS Website

This is the source code for AUFS' website (Aberdeen University's Filmmaking Society). It serves to inform the public on our films, who we are, what we do, and also serves as a platform to very easily and quickly run internal polls during our meetings.

This project is maintained by the AUFS commitee.

Environment variables

These can be set in a .env file placed alongside app.js

  • GOOGLE_CLIENT_ID: Client ID for Google Analytics
  • GOOGLE_CLIENT_SECRET: Client secret for Google Analytics
  • DATABASE_HOST: The host name of the MySQL server
  • DATABASE_USER: The user used to connect to MySQL
  • DATABASE_PASSWORD: The password used to connect to MySQL
  • DATABASE_NAME: The name of the SQL Database to use
  • LAUNCH_DATE: If it is in the future, any unauthenticated request will render countdown.ejs
  • GM_PATH: The location of gm (GraphicsMagick). Can be undefined if unecessary.
  • URL_START: The beginning of the URL (ex: https://aufilmmaking.co.uk), used for redirections and various link generation features
  • SESSION_SECRET: Any random passcode (used by express-session)
  • AUDITION_EMAIL: The email address the Auditions are sent from
  • AUDITION_PASSWORD: The password of the specified email account
  • EQUIPMENT_EMAIL: The email address the Equipment requests are sent from
  • EQUIPMENT_PASSWORD: The password of the specified email account

Socket message types

  • vote.create(voteobject)
  • vote.delete(voteid)
  • vote.start(voteobject)
  • vote.stop(voteid)
  • vote.arm.start(voteobject)
  • vote.arm.stop(voteid)
  • vote.result.update(voteid, results)
  • vote.result.show()
  • vote.archive(voteobject);
  • other.connectedcount
  • other.settings.update(settings)

Debugging

In order to run a copy on your local machine, all the environment variables need to be set, and logging into the admin panel requires addingd an entry to your hosts file redirecting the aufilmmaking.com domain to 127.0.0.1 (localhost). The URL_START environment variable can then be set to http://aufilmmaking.com.

The real domain ends with .co.uk, but .com is also registered as a valid redirect for the Google login OAuth.

website's People

Contributors

aufilmmaking avatar dependabot[bot] avatar piersdeseilligny 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.