Skip to content

If you know MBOF, you don't need to know anything else.

Notifications You must be signed in to change notification settings

sloanlance/hacks_mbof

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

hacks_mbof

If you know MBOF, you don't need to know anything else.

Setup

  1. Install Vagrant - https://www.vagrantup.com/
  2. Start Vagrant
    • cd hacks_mbof
    • vagrant up
    • vagrant ssh
  3. Install Bower packages
    • cd /vagrant/mbofui
    • bower install

Development

  1. Initialize and start app server
    • cd /vagrant
    • python manage.py migrate
    • python manage.py loaddata mbof/fixtures/dev_data.json
    • python manage.py runserver
  2. Browse to...

Update Data Fixtures

This is the procedure to add dummy data to the fixture files.

  • Connect to the database in the Vagrant VM. (If MySQL DB is used, this can be done from your host system via the port defined in the Vagrant file.)
  • Delete all tables.
  • Run the migrations to recreate the tables: python manage.py migrate
  • Run the loaddata command to load existing fixtures: python manage.py loaddata mbof/fixtures/dev_data.json
  • Make changes to the database needed to exercise application features.
  • Save the changes to a fixture file: python manage.py dumpdata --indent 4 mbof > mbof/fixtures/dev_data.json
  • Commit the changes to the updated fixture file.

About

If you know MBOF, you don't need to know anything else.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 87.8%
  • Python 6.2%
  • CSS 4.0%
  • HTML 2.0%