Git Product home page Git Product logo

spokenjagers's Introduction

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 npm

  2. Install mysql-server using apt-get/macports/homebrew

  3. 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

spokenjagers's People

Contributors

qdraw avatar dependabot[bot] avatar

Watchers

 avatar  avatar

spokenjagers's Issues

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.