Skip to content

Latest commit

 

History

History
116 lines (87 loc) · 2.84 KB

README.md

File metadata and controls

116 lines (87 loc) · 2.84 KB
Not a kahoot copy - Club Info
I swear it's not a kahoot copy !!


Cooked by anonymous members of the club info 👨‍🍳

Installation

npm install

Important

Eslint and Prettier are set up in the project to keep to code clean and readable There is a settings.json for VSCode.

I hightly suggest you to install the following extensions from the marketplace:

How to run the project

Here are the things to do to run the project

  1. First open a terminal go to backend and install the dependencies (Assuming you already have Python 3 and pip installed)
cd backend
pip install -r requirements
  1. Go back to the front-end side and install the depencies (Assuming you have node installed)
npm install
  1. Run the npm script serve
npm run serve
  1. Run the backend
cd backend
python logic2.py
  1. Open your favourite browser and open the url shown in the terminal. It should to something like this
http://localhost:8080

To create a room as an admin go to http://localhost:8080/admin-home To join a room as player got to http://localhost:8080

📔 How to run the project D-Day 📔

  • Copy the https link generated with the following command: ngrok http 8000
  • Paste it here:
    Vue.use(
      new VueSocketIO({
        debug: true,
        connection: "paste-link-here",
      })
    );
  • Build the site with
    npm run build-prod
  • Send everything from this directory to the server
  • Start the python script

Learn More

Roadmap

  • Turn the website into an app