Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some photo samples to initial development environment #566

Open
circus2271 opened this issue Feb 9, 2023 · 3 comments
Open

Add some photo samples to initial development environment #566

circus2271 opened this issue Feb 9, 2023 · 3 comments

Comments

@circus2271
Copy link
Contributor

circus2271 commented Feb 9, 2023

Development environment comes with no photos by default. So maybe it's a good idea to add some photos to ease the development onboarding

RU: dev версия проекта не содержит каких-либо пользовательских фотографий. Может быть, было бы полезно добавить несколько, чтобы упростить процесс начала разработки

@circus2271 circus2271 changed the title add some photo samples to initial development environment Add some photo samples to initial development environment Feb 9, 2023
@circus2271
Copy link
Contributor Author

Также, можно было бы добавить несколько пользователей (moderator, regular user)

@aeifn
Copy link
Member

aeifn commented Feb 14, 2023

Для этого нужно обновить начальный дамп базы:

curl --progress-bar -o /tmp/pastvu.gz https://varlamov.me/pastvu/github/pastvu.gz

И обеспечить скачивание в /store нужных картинок инит-скриптом, по аналогии с:

- ./docker/dev-initdb.sh:/usr/local/bin/initdb

@kabalin
Copy link
Member

kabalin commented Feb 19, 2023

Я бы предложил API задействовать для добавления тестовых пользователей и фото. Для тестов контроллера photo такой функционал будет полезен.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants