Flask microblog example using WhiteDB as an in memory stat layer.
- Vagrant
- Ansible
- VMware Fusion
- Or you can change the
Vagrantfile
to useVirtualBox
- Or you can change the
- Start up VM
vagrant up
- Provision your server
vagrant provision
- SSH into server
vagrant ssh
- Make sure requirements are installed.
cd /srv/app
sudo pip install -r requirements.txt
- Run server
sudo python main.py
- Now access app at
http://192.168.33.10:5000
- Use login of
admin
with passworddefault
- Add several entries
views
- Number of views for an entryupvotes
- Upvotes for an entrydownvotes
- Downvotes for an entry