git clone [email protected]:YourGitHubName/website.git
python -V
or python3 -V
should output Python 3.6.x
python3 -m venv pythonie-venv
or virtualenv -p python3 pythonie-venv
works for Ubuntu.source pythonie-venv/bin/activate
cd website
pip install -r requirements-dev.txt
python pythonie/manage.py migrate --settings=pythonie.settings.dev
python pythonie/manage.py runserver --settings=pythonie.settings.dev
http://127.0.0.1:8000/
in your browser. (You should see a 'welcome to Wagtail' site, as you will not see content until you've added it in your DB)python pythonie/manage.py createsuperuser --settings=pythonie.settings.dev
http://127.0.0.1:8000/admin/
.flake8 pythonie/
``` 2021-03-23T12:31:11.405922+00:00 app[web.1]: /app/.heroku/python/lib/python3.9/site-packages/django/db/models/fields/init.py:1367: RuntimeWarning: DateTimeField Meetup.time received a naive datetime (2021-03-23 12:31:11.405466) while time zone support is active. 2021-03-23T12:31:11.405933+00:00 app[web.1]: warnings.warn("DateTimeField %s received a naive datetime (%s)" 2021-03-23T12:31:11.406411+00:00 app[web.1]: /app/.heroku/python/lib/python3.9/site-packages/django/db/models/fields/init.py:1367: RuntimeWarning: DateTimeField Meetup.time received a naive datetime (2021-06-23 12:31:11.405466) while time zone support is active. 2021-03-23T12:31:11.406413+00:00 app[web.1]: warnings.warn("DateTimeField %s received a naive datetime (%s)"
```
We can't count on the current coverage of the tests, currently, it's not enough. We have to improve it because, without that, the deployment is harder.
Hey,
Once everything is up and running, currently we only have a blank wagtail application. Would it be possible to get a sample dump of the actual database?
If size is an issue, you could use some service like Dropbox, Google Drive or Mega to send it.