ToDo list based on latest technologies
What is that
I'm start that project because would like to try how work together latest Angular and Django.
%%% Work in progress %%%
How to start that project in local environment?
You must install PostgreSQL(>=9.4). You must create database 'todo_list', then add and user 'todo_list' with password 'todo_list' and make him owner of created database.
all commands run inside backend folder
Install virtuaenv tools and make virtual environment for project(optional).
a) Install virtualenv tools
pip install virtualenv.
b) Create virtual environment call command
c) Activate environment
source .venv/bin/activate(on Linux).
pip install -r requirements/base.txt.
python manage.py migrate
python manage.py runserver
all commands run inside frontend folder
You must have installed npm package manager
npm installfor install dependencies
npm run startfor start dev server( for correct works requests to api, you must start backend dev server, step 5 in Backend section).
I'm thinking long time about public deploy tools(with config from server) or keep in secret. And for now I'm make choice publish systemd circus service and fabfile wich I'm use for upgrade server. So I will keep in secret nGinx config file and version of django settings which used on server. I'm also hopeful if anyone find vulnerable in those configs or in the project, they will send direct email to me.
- I'm to know about TDD from book Percival Test-Driven Development with Python of Harry J.W.(I'm read first edition, soon will released 2 edition, but some aspects from first book is still actual)
- Łukasz Wojciechowski article about angular2 and web-sockets.
- I'm take implementation of web-sockets for angular2 by Peter Kassenaar from his github repo
0.1.0 - Django 1.11, Channels 1.x, Angular 4