Technical Foundation
marksteve opened this issue · 12 comments
Let's discuss frameworks, services and dev flow.
Tools
- Python 3.5.x
- Node 4.x
Packages
- django
- django-environ
- django-pipeline for assets
- bootstrap v4
- pytest-django
Services
- sentry
- postgres 9.4+
CI/Deployment
- semaphore
- Docker or Ansible (TBD later)
Styleguides
- Design (WIP, separate repo)
- Python
- JavaScript
My suggestions:
Packages
- django
- channels (for the newsletter)
- django-pipeline for assets
- basscss (???)
Services
- sentry
- postgres
Other thoughts
- Let's create a styleguide!
- Everybody can deploy
- GH flow?
- Think mobile and social (opengraph, messenger, etc.)
Mozilla django template: https://github.com/mozilla/sugardough/
Python 3 or 2? I would like to try Python 3.
Monolithic Django or Django API + HTML/JS client?
Re: Channels.
Can you describe the workflow?
Re: Deploying.
You okay with Ansible?
+1 for styleguide.
Ok with Python 3. I've been trying to use it in new projects. Unfortunately, I'm forced to go back to 2 when I encounter libraries that don't support it :P But we can enforce it more here.
Let's do just Django. SPAs are fun but harder to test.
Channels: there's a bunch of django mailer packages but I wanted to try setting one up with channels. But in the interest of time, we can use out-of-the-box packages first.
Deploying: I prefer docker deployments :P Though I'm ok with ansible if you have playbooks ready. We're in DigitalOcean.
I have playbooks ready, but wouldn't be opposed to Docker for development environments.
@darylyu #3 (comment) Can you review and close if it looks good?
LGTM. I can't close. I did a quick check and I think you need to add the repo to the team.
Reopened.
Postgres 9.5 so we can use better JSON fields. And Python 3.5 so we can have type hinting.
Updated
JSONField requires PostgreSQL ≥ 9.4 and Psycopg2 ≥ 2.5.4
Also updated README