- Subreddit
- or email developers [at] memetrades [dot] com
docker build -f Dockerfile.mongo -t mongo .
docker run -d --name -v /data/db:/data/db mongo mongo
- Should be run with nginx-proxy @ https://github.com/jwilder/nginx-proxy
- HTTPS done with https://github.com/JrCs/docker-letsencrypt-nginx-proxy-companion
- Create a copy of memeServer/settings-example.py called memeServer/settings.py
docker build -f Dockerfile.web -t memes .
./redeploy.sh
Please open a github issue. We will read them. I promise.
Memetrades runs on Ubuntu, and we aren't going to support anything else.
- Install mongodb
sudo apt install mongodb
- Open another terminal and start mongo:
sudo mongod
- Create and activate a virtual env for the project
- Install requirements.txt to the venv.
- Create a copy of memeServer/settings-example.py as memeServer/settings.py
- Run
python wsgi.py
- Run
python process_queue.py
- Run
python update.py
every 2 minutes or so. use a cron job or something. IDK, sue me - open mongo and type
use memes
db.stock_history_entry.createIndex({"time":1})
db.stock_history_entry.createIndex({"stock":1})
what? you don't want to get your hands dirty and mess with mongo?
You think this could have been automated? You're still mad about the cron job?
I'm tired of getting sass from you. Cash me ousside, How bow dah.
- Server will be localhost:8080
we will look at them. Submit an issue along with the PR so we know what you're doing.
restart prod:
sudo systemctl restart memeprod.service
restart dev:
sudo systemctl restart memedev.service
restart nginx:
- test config: sudo nginx -t
- restart: sudo service nginx restart
from server/ run:
python -m unittest discover -s tests/