| README - linuxgaming - Linux gaming aggregate tool, built to test out NodeJS. | |
| git clone git://jay.scot/linuxgaming | |
| Log | |
| Files | |
| Refs | |
| README | |
| --- | |
| README (735B) | |
| --- | |
| 1 | |
| 2 |> LinuxGaming | |
| 3 | |
| 4 This is my own Linux gaming aggregate webapp I built for personal use. | |
| 5 If you are using MongoDB directly installed on your local machine or | |
| 6 else where then skip the docker commands and go straight for the the | |
| 7 import command. | |
| 8 | |
| 9 | |
| 10 development: | |
| 11 | |
| 12 $ python3 -m virtualenv venv | |
| 13 $ source ./venv/bin/activate | |
| 14 $ pip install -r requirements.txt | |
| 15 | |
| 16 usage: | |
| 17 | |
| 18 $ FLASK_APP=run.py FLASK_DEBUG=1 python -m flask run | |
| 19 | |
| 20 | |
| 21 If you are using MongoDB directly installed on your local machine or | |
| 22 else where then skip the docker commands and go straight for the the | |
| 23 import command. | |
| 24 | |
| 25 | |
| 26 $ docker pull mongo | |
| 27 $ docker run -p 27017:27017 -ti --rm mongo | |
| 28 | |
| 29 $ mongoimport --db linuxgamingthings --collection items --drop -… |