linuxgaming

This is my own Linux gaming aggregate web app I built for personal use.
git clone git://git.beardyjay.co.uk/linuxgaming
Log | Files | Refs | README | TODO

README.md (1013B)


      1 # LinuxGaming
      2 
      3 This is my own Linux gaming aggregate webapp I built for personal use.
      4 
      5 ## Development
      6 
      7 ### Environment
      8 
      9 Create a virtual environment in python3
     10 
     11 ```bash
     12 python3 -m virtualenv venv
     13 ```
     14 
     15 Load the environment
     16 
     17 ```bash
     18 source ./venv/bin/activate
     19 ```
     20 
     21 Install the requirements
     22 
     23 ```bash
     24 pip install -r requirements.txt
     25 ```
     26 
     27 Run the application in debug mode
     28 
     29 ```bash
     30 FLASK_APP=run.py FLASK_DEBUG=1 python -m flask run
     31 ```
     32 
     33 
     34 ### Data import
     35 
     36 If you are using MongoDB directly installed on your local machine or else where then skip the docker commands and go straight for the the import command.
     37 
     38 Pull the latest MongoDB docker image.
     39 
     40 ```bash
     41 docker pull mongo
     42 ```
     43 Run the docker image in a throw away container.
     44 
     45 ```bash
     46 docker run -p 27017:27017 -ti --rm mongo
     47 ```
     48 Seed the data using mongo-import tool.
     49 
     50 ```bash
     51 mongoimport --db linuxgamingthings --collection items --drop --file ./config/test_data.json
     52 ```
     53 
     54 
     55 ## Tooling
     56 
     57   - Python 3.6
     58   - Flask
     59   - MongoDB
     60   - AWS EBS
     61   - Gitlab CI
     62   - SemanticUI