Test of Django admin for milmove project.
make db_dev_e2e_populate
- If you don't already have python 3.x, then
brew install python
- If you don't already have virtualenv, then
pip3 install virtualenv
- In the top level of this cloned repo, create a virtual environment:
virtualenv venv
- Activate the virtual environment:
source venv/bin/activate
- Install the requirements:
pip3 install -r requirements.txt
- Go into
milmove
folder and runpython manage.py migrate
- Create a superuser:
python manage.py createsuperuser
- Run the Django app:
python manage.py runserver
- Go to the admin in your browser and login with your superuser:
http://127.0.0.1:8000/admin
- Click on the
Moves
link to see a simple example of a Django admin (with some minimal customization). Other tables are currently just showing the default admin.