ReflexGamers / rxgstore

1 stars 0 forks source link

Installation #1

Open ThreshHNS opened 7 years ago

ThreshHNS commented 7 years ago

Hi, Can you help me with installation? Want to make working this for other payment system and make it sourceopen. All copyrights belongs to you.

WheteThunger commented 7 years ago

Hi ThreshHNS,

It was never intended for other for others to consume this project easily, so there are quite a few steps, and even this will only get you so far. I also pushed a few commits that will make this work so you shouldn't have to make any code changes to get initially set up.

Database

  1. Create database user (or use root)
  2. Create database/tables/functions - https://pastebin.com/H5suVL42
  3. Create app/Config/database.php (base off database.php.default) a. Update $default with database info b. Update $steam with a Steam API key

Permissions

  1. Create app/Config/permissions.php (base off permissions.php.default)

Security

  1. Create app/Config/security.php (base off security.php.default)
  2. Change salt and cipherSeed

Further setup for testing

  1. Add example Chicken item - https://pastebin.com/kUbU1dTy
  2. Add cash to your user (user_id = SteamID3) update user set credit = 1000000 where user_id = 77918600

I hope that helps.