-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
49 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
# CSGOHunt.com - Copy | ||
|
||
Almost iodentical copy of [CSGOHunt.com](https://www.csgohunt.com/). Full NodeJS project. | ||
|
||
### Powered by | ||
|
||
* [Node.js](http://nodejs.org) | ||
* [MariaDB](https://mariadb.org/) | ||
|
||
### Installation | ||
|
||
Requires [Node.js](https://nodejs.org/) 8+ and [MariaDB](https://mariadb.org/) 10.2+ database to run. | ||
|
||
Install the dependencies: | ||
|
||
```sh | ||
$ npm install | ||
``` | ||
|
||
Rename [config.index.js](https://github.com/Baterka/CSGOHunt.com-Copy/blob/master/config/index.example.js) file to index.js and fill all required data. | ||
|
||
Start website: | ||
|
||
```sh | ||
$ node bin/www | ||
``` | ||
|
||
Start servers: | ||
|
||
```sh | ||
$ node servers/[jackpot|coinflip|chat].js | ||
``` | ||
|
||
Start bots: | ||
|
||
```sh | ||
$ node bot/[jackpot|coinflip].js | ||
``` | ||
|
||
I recommend using [pm2](https://github.com/Unitech/pm2) for managing bot. | ||
|
||
### Todos | ||
- Code revision | ||
- Testing | ||
- Rewrite to Non-relational database (MongoDB) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
# Ignore everything in this directory | ||
* | ||
# Except this file | ||
!.gitignore |