Git Product home page Git Product logo

server's Introduction

ARIS

Requirements

  • php 5.3
  • mysql

Install

  • Copy config.class.php.template to config.class.php
  • Modify to point to your mysql databases and app directories.
  • Import services/v2/db/upgrades_table.sql into your v2 database.
  • Visit <aris server>/services/v2/autocrud/index.html
  • Use autocrud to GET `db.upgrade' to create all aris tables.
  • Register a user in the database and play with the API!

Errata

  • For OSX, xampp version 1.7.3 (an older download) works as of (2/10/2015)
  • If the json does not parse, the server is returning deprecated php warnings. Disable by setting error_reporting = E_ALL & ~E_NOTICE & ~E_DEPRECATED in your php.ini
  • Make sure the web server has permission to write to the v2_gamedata_folder and that it is an absolute path.

Vagrant

You can also use Vagrant to run the server inside a virtual machine.

  • Run vagrant up from the repo root to create and set up the machine.

  • The repo is shared inside the machine at both /vagrant and /var/www/server.

  • Port 10080 on the host machine is forwarded to 80 on the guest, so for example you can access the autocrud page at http://localhost:10080/server/services/v2/autocrud/

  • Use the following info to access the database by SSH tunneling into the virtual machine:

    • Host: 127.0.0.1
    • Username: root
    • Password: root
    • Database: arisv2
    • SSH host: 127.0.0.1
    • SSH user: vagrant
    • SSH password: vagrant
    • SSH port: 2222

    You can also connect to the box with private key authentication (as vagrant ssh does). Run vagrant ssh-config if you need to see where the private key is located.

server's People

Contributors

brthiel avatar dannyboycurtis avatar djgagnon avatar mglumac avatar mrdavidgagnon avatar mtolly avatar phildo avatar zeroeth avatar

Watchers

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