This is the repository of the https://gdpr.algolia.com/ website.
- Clone this repository
git clone [email protected]:algolia/gdpr-search.git
- Install the needed tools:
- Install the dependencies:
- Python:
pipenv install --python 3.6
- JS:
yarn install
- Python:
- Setup the database and the env variables:
createdb gdprsearch
- Copy the
.env.template
and edit /source
it.
- Start the project:
- Activate the python env:
pipenv shell
- Populate the database (Ask for a dump to the team)
- Start the Django
django-admin runserver
- Start the webpack watch:
yarn run watch
- Activate the python env:
gdpr/crawler
: contains theScrapy
spiders populating the databasegdpr/gdpr
: contains the Django appgdpr/static/js
: contains theSearch
part of the website, in React.
Deployed manually to Heroku