Skip to content

rucken/todo-django

Repository files navigation

rucken-todo-django (The repository is frozen.)

Updates Requirements Status Build Status

A simple todo application demonstrating the basic usage of rucken Angular5+ with Django REST framework.

Usage

  • Clone or fork this repository git clone --recursive https://github.com/rucken/todo-django.git
  • Make sure you have Python installed version 3.x
  • Make sure you have node.js installed version 6+
  • Make sure you have NPM installed version 3+
  • Open command line in folder todo-django
  • Install virtual env for isolate libs used on project pip install virtualenv and init it virtualenv venv
  • Switch to virtual env venv\Scripts\activate or on windows mingw32 source venv/Scripts/activate
  • run pip install -r requirements.txt to install project dependencies
  • run python manage.py migrate rucken_todo 0001_initial to init first migrations
  • run python manage.py migrate to init all migrations
  • run python -c "import shutil; shutil.copy2('_README.md', 'frontend/README.md');" to copy README.md to frontend
  • Go to frontend cd frontend and run npm install to install frontend dependencies
  • Build frontend, run npm run build
  • Collect static python manage.py collectstatic --noinput
  • Run server python manage.py runserver 0.0.0.0:5000
  • Open browser to http://localhost:5000

Demo application on Heroku

  • test admin username: admin, password: 12345678
  • test user 1 username: user1, password: 12345678
  • test user 2 username: user2, password: 12345678

License

MIT

About

The repository is frozen.. A simple todo application demonstrating the basic usage of rucken Angular5+ with Django REST framework.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published