Commit Graph

30 Commits

Author SHA1 Message Date
Leo Hemsted
d5238bce5b handle if user doesn't provide name/email
also clean up usage of DESKPRO_PERSON_EMAIL and put it in the conf rather than env
2016-08-04 18:01:08 +01:00
Adam Shimali
4c2ee8e8ed Updated for correct desk pro env vars 2016-05-19 11:04:45 +01:00
Rebecca Law
2afbbd6423 Removed unused requirements and modules. 2016-04-21 09:11:00 +01:00
Chris Hill-Scott
5c4de3d13d Add code coverage
- generates a code coverage report
- triggers Coveralls on every Travis build
- adds a badge to the README
2016-04-07 11:03:27 +01:00
Adam Shimali
3e167c69f2 Clean up config a bit. Get values for config from environment.
Removed some old redundant config.
2016-03-23 15:07:04 +00:00
Chris Hill-Scott
c7f9b24cee Add deployment badges 2016-03-22 09:39:08 +00:00
Chris Hill-Scott
5b073341a0 Add frontend install and build to bootstrap script
Now you don’t need to remember what the two commands are and when you need to
run them, you can just run the bootstrap script instead.

Makes sense to have them here since the `pip install` is also in here.
2016-03-03 07:54:14 +00:00
Henry Hadlow
b1eadaedcd Tidy up README 2016-02-03 15:18:57 +00:00
Chris Hill-Scott
2c79787b4d Update README
No longer need to do init the submodules when first using the app.
2016-01-14 16:47:50 +00:00
Chris Hill-Scott
1b7658e09a Fix flakiness with Gulp + Travis
Gulp was failing silently on Travis. I tracked this down to the task that
builds a custom, slimmed-down version of jQuery from source.

To fix this I’ve removed the task and replaced it with just `src`ing the
minified version of jQuery from `node_modules`.

Cons:
- A few more kb of JS

Pros:
- Less random, afternoon-chewing complexity
2016-01-12 15:16:16 +00:00
Chris Hill-Scott
003c7e097a Remove badge for code coverage
It needs more integration, which I’m not sure we want at the moment.
2016-01-12 09:47:35 +00:00
Chris Hill-Scott
840185017c Add badges for requirements and code coverage 2016-01-12 09:38:55 +00:00
Martyn Inglis
f92a46f419 updated readme 2016-01-06 11:37:37 +00:00
Rebecca Law
43a423b027 Update README.md
Added instructions to install n for node version management
2016-01-06 11:14:04 +00:00
Chris Hill-Scott
5ebeec08ae Use a Node-based tools for handling assets
…or how to move a bunch of things from a bunch of different places into
`app/static`.

There are three main reasons not to use Flask Assets:
- It had some strange behaviour like only
- It was based on Ruby SASS, which is slower to get new features than libsass,
  and meant depending on Ruby, and having the SASS Gem globally installed—so
  you’re already out of being a ‘pure’ Python app
- Martyn and I have experience of doing it this way on Marketplace, and we’ve
  ironed out the initial rough patches

The specific technologies this introduces, all of which are Node-based:
- Gulp – like a Makefile written in Javascript
- NPM – package management, used for managing Gulp and its related dependencies
- Bower – also package management, and the only way I can think to have
  GOV.UK template as a proper dependency

…speaking of which, GOV.UK template is now a dependency. This means it can’t be
modified at all (eg to add a global `#content` wrapper), so every page now
inherits from a template that has this wrapper. But it also means that we have a
clean upgrade path when the template is modified.

Everything else (toolkit, elements) I’ve kept as submodules but moved them to a
more logical place (`app/assets` not `app/assets/stylesheets`, because they
contain more than just SASS/CSS).
2016-01-05 13:12:35 +00:00
Rebecca Law
01c5bf5190 Update README.md 2015-12-10 16:47:29 +00:00
Rebecca Law
6109306548 Update README.md 2015-12-10 09:08:26 +00:00
Rebecca Law
abe1d8ae17 108536234: created users and roles data and domain model.
You will need to run the /scripts/bootstrap.sh to create the database for test and the app.
2015-11-25 15:29:12 +00:00
Rebecca Law
26e0a5d36c Update README.md 2015-11-23 16:33:52 +00:00
Rebecca Law
ecbf641eef Fix the submodule 2015-11-23 16:18:33 +00:00
Rebecca Law
ba14e1263b Fix code style 2015-11-23 14:55:37 +00:00
Rebecca Law
bca1014ce2 Update README.md 2015-11-23 14:39:31 +00:00
Rebecca Law
826bbb80f6 Update README.md 2015-11-23 14:37:29 +00:00
Rebecca Law
44d3c66cbd Remove sass dir
Update ReadMe with Getting Started directions
2015-11-23 14:31:14 +00:00
Rebecca Law
a9fe2e6bb7 Add govuk-template-flask-skeleton 2015-11-23 13:50:37 +00:00
Rebecca Law
b737af3fee trigger deploy 2015-11-20 15:46:08 +00:00
Rebecca Law
27dfa8456f Change name of app 2015-11-20 10:31:28 +00:00
Rebecca Law
0e2af53cf5 Update README.md 2015-11-18 16:41:49 +00:00
Rebecca Law
0086a1b5da Update README.md 2015-11-18 16:32:15 +00:00
Rebecca Law
34c397671b Initial commit 2015-11-18 13:55:18 +00:00