Skip to content

Commit 042d22d

Browse files
Remove Django cruft
1 parent 8bd2bdd commit 042d22d

21 files changed

+46
-471
lines changed

.gitignore

-8
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,6 @@ __pycache__/
5454
####################
5555
.env
5656

57-
# Django #
58-
#################
59-
*.egg-info
60-
.installed.cfg
61-
6257
# Unit test / coverage reports
6358
#################
6459
htmlcov/
@@ -77,12 +72,9 @@ cypress/screenshots/
7772
# Front-End #
7873
#############
7974
node_modules/
80-
bower_components/
81-
.grunt/
8275
src/vendor/
8376

8477
# Build artifacts #
8578
###################
8679
build
8780
dist
88-
ccdb5_ui/static

CONTRIBUTING.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Ready to publish changes to npm?
4242
3. Source your `.env` with `source ./.env` (if `GITHUB_TOKEN` in unset).
4343
2. Log into npm with `npm login` (if not already logged in).
4444
3. Run `yarn run release` to start the release.
45-
This'll run the build and prepack scripts to copy the latest JS into
45+
This'll run the build scripts to copy the latest JS into
4646
the `dist` directory. It then uses
4747
[release-it](https://github.com/release-it/release-it/) to publish to
4848
npm and manual create a GitHub tag and release.

MANIFEST.in

-2
This file was deleted.

README.md

+2-5
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,6 @@ Unit testing of the application is performed within
1919

2020
[yarn](https://yarnpkg.com/) is used to manage the build/test/deploy cycle.
2121

22-
The `ccdb5_ui` (note the underscore) directory contains a thin [Django](https://www.djangoproject.com/)
23-
implementation that allows it to be used as a plugin for
24-
[CFPB's public website](https://github.com/cfpb/consumerfinance.gov).
25-
2622
#### Screenshot
2723
![screen August 17, 2017](documentation/screenshot.png)
2824

@@ -132,7 +128,8 @@ yarn run cypress open --browser chrome
132128
### To run against a server
133129
You can also run Cypress tests against a server by passing a `baseUrl` config with the path to the server's consumer complaints search page.
134130

135-
**Note**: If you run against a server that has Django's `DEBUG=False` setting, the tests will probably run into API throttling, which will make tests fail.
131+
**Note**: If you run against a server that has Django's `DEBUG=False` setting,
132+
the tests will probably run into API throttling, which will make tests fail.
136133
Our internal DEV servers can be deployed with `DEBUG=True` for running Cypress tests.
137134

138135
```bash

ccdb5_ui/__init__.py

Whitespace-only changes.

ccdb5_ui/config/__init__.py

Whitespace-only changes.

ccdb5_ui/config/settings.py

-93
This file was deleted.

ccdb5_ui/config/urls.py

-12
This file was deleted.

ccdb5_ui/config/wsgi.py

-4
This file was deleted.

ccdb5_ui/templates/ccdb5_ui/ccdb-main.html

-55
This file was deleted.

ccdb5_ui/templates/ccdb5_ui/ccdb_base_responsive.html

-38
This file was deleted.

ccdb5_ui/templates/ccdb5_ui/standalone_base.html

-30
This file was deleted.

ccdb5_ui/tests/__init__.py

Whitespace-only changes.

ccdb5_ui/tests/test_views.py

-25
This file was deleted.

ccdb5_ui/views.py

-50
This file was deleted.

config/paths.js

+3-3
Original file line numberDiff line numberDiff line change
@@ -52,17 +52,17 @@ const resolveModule = (resolveFn, filePath) => {
5252
module.exports = {
5353
dotenv: resolveApp('.env'),
5454
appPath: resolveApp('.'),
55-
appBuild: resolveApp('ccdb5_ui/static'),
55+
appBuild: resolveApp('dist'),
5656
appPublic: resolveApp('public'),
5757
appHtml: resolveApp('public/index.html'),
5858
appIndexJs: resolveModule(resolveApp, 'src/index'),
5959
appPackageJson: resolveApp('package.json'),
6060
appSrc: resolveApp('src'),
6161
appTsConfig: resolveApp('tsconfig.json'),
62-
appJsConfig: resolveApp('jsconfig.json'),
62+
appJsConfig: resolveApp('jsconfig.json'),
6363
yarnLockFile: resolveApp('yarn.lock'),
6464
testsSetup: resolveModule(resolveApp, 'src/setupTests'),
65-
proxySetup: resolveApp('src/setupProxy.js'),
65+
proxySetup: resolveApp('src/setupProxy.js'),
6666
appNodeModules: resolveApp('node_modules'),
6767
publicUrlOrPath,
6868
};

documentation/general-redux-chain.png

-32.8 KB
Binary file not shown.

0 commit comments

Comments
 (0)