https://github.com/panglesd/class-panic
A node JS website for interactive polling students
https://github.com/panglesd/class-panic
Last synced: 2 months ago
JSON representation
A node JS website for interactive polling students
- Host: GitHub
- URL: https://github.com/panglesd/class-panic
- Owner: panglesd
- License: agpl-3.0
- Created: 2018-08-24T10:13:47.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T10:52:00.000Z (over 2 years ago)
- Last Synced: 2025-01-22T00:37:07.944Z (4 months ago)
- Language: JavaScript
- Size: 1.21 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 11
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# class-panic
A node JS website for interactive polling students## Requirements:
git, nodeJS (up to date), npm, a mysql server.
## Installation
To install, you have several steps:
### clone the repository
```shell
git clone https://github.com/panglesd/class-panic.git
cd class-panic
```### Install dependencies
```shell
npm install
git clone https://github.com/mathjax/MathJax.git MathJax
```### Set up the database
- Create a database
- Import classPanic.sql in your databse
- Create a user that has all access to this database
- Fill credentials.js so that the server can access the database:
```shell
cp credentials.js.example credentials.js
emacs credentials.js
```
### choose configuration
- Choose port, route and the password to create admin accounts, in configuration.js:
```shell
cp configuration.js.example configuration.js
emacs configuration.js
```## Start the server
```shell
npm start
```## Test
Open your browser and got to ``localhost:port/path``