Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/qdraw/spokenjagers
spokenjagers / ghosthunter avans school project
https://github.com/qdraw/spokenjagers
Last synced: 15 days ago
JSON representation
spokenjagers / ghosthunter avans school project
- Host: GitHub
- URL: https://github.com/qdraw/spokenjagers
- Owner: qdraw
- Created: 2015-02-10T20:03:20.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-07-17T19:04:44.000Z (over 1 year ago)
- Last Synced: 2024-04-15T23:51:37.158Z (9 months ago)
- Language: JavaScript
- Homepage: https://qdraw.nl/spokenjagers.html
- Size: 30 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Spokenjagers Game
## How run the server part of this game localy
1. Install Node.js
https://nodejs.org/or use apt-get/macports/homebrew
sudo port install nodejs
sudo port install npm2. Install mysql-server
using apt-get/macports/homebrew3. Create a database and user with r/w rights
mysql -u root -p
Enter password:mysql > create database deb40577_game;
mysql > show databases;
mysql > create user deb40577_game;
mysql > grant all on deb40577_game.* to 'deb40577_game'@'localhost' identified by 'PASSW!ORD';4. Setup ".env" file (or change env_rename to .env)
a. facebook_api_key
You can find your App ID at:
https://developers.facebook.com/apps/b. facebook_api_secret
You can find your App Secret at:
https://developers.facebook.com/apps/c. google_api_key
You can find your Client ID at:
https://console.developers.google.com/
d. google_api_secret
You can find your Client secret at:
https://console.developers.google.com/e. use_database is always true
f. Setup (mysql) username, (mysql) password and (mysql) database (name)
5. Install dependencies using npm
a. Go to the current directory using the terminal or your MS-DOS Window.
(cd /this/directory)b. $ npm install
c. $ npm start
d. navigate to http://localhost:8080/
e. Let's play!
Check ./sources for the code snippits that i've used in this code