The redesign of the www.consumerfinance.gov website. This Django project includes the front-end assets and build tools, Jinja templates for front-end rendering, and Wagtail CMS for content administration.
Clone the repository:
git clone email@example.com:cfpb/cfgov-refresh.git
Create a virtual environment for Python dependencies:
cd cfgov-refresh mkvirtualenv --python=python2.7 cfgov-refresh
Create and load initial environment settings:
cp -a .env_SAMPLE .env source .env
Install third-party dependencies and build frontend assets:
Create a local database and add some basic pages:
Start your local Django server:
Your site will be available locally at http://localhost:8000.
The site admin will be available at http://localhost:8000/admin/, using login
If you would like to browse the documentation locally, you can do so
pip install -r requirements/manual.txt mkdocs serve
Documentation will be available locally at http://localhost:8000.
We welcome your feedback and contributions. See the contribution guidelines for more details.
Additionally, you may want to consider contributing to the Capital Framework, which is the front-end pattern library used in this project.
Open source licensing info
Credits and references
This project uses the Capital Framework for its user interface and layout components.