Giter Site home page Giter Site logo

Comments (8)

TurtleOld avatar TurtleOld commented on August 13, 2024

Привет, готов приступить, но есть вопрос.
В Makefile указан IP 0.0.0.0, но этот IP не добавлен в ALLOWED_HOSTS, соответственно мы получаем ошибку 500 при запуске приложения.
Может быть изменить Makefile и указать 127.0.0.1 или добавить 0.0.0.0 в ALLOWED_HOSTS?
А может ещё лучше - добавить аргумент к команде @Poetry run python manage.py runserver 0.0.0.0:8000 [$(ARGS)]

from hexlet-friends.

antlu avatar antlu commented on August 13, 2024

Лучше открывать сайт по адресу localhost:8000 или 127.0.0.1:8000.

from hexlet-friends.

TurtleOld avatar TurtleOld commented on August 13, 2024

Лучше открывать сайт по адресу localhost:8000 или 127.0.0.1:8000.

В README файле фигурирует команда make start, которая запускает команду @poetry run python manage.py runserver 0.0.0.0:8000, но IP адрес 0.0.0.0 отсутствует в ALLOWED_HOSTS. В Wiki лучше тогда указать команду poetry run python manage.py runserver localhost:8000 или 127.0.0.1:8000?

from hexlet-friends.

antlu avatar antlu commented on August 13, 2024

Можно оставить команду без изменений, но указать, что открывать нужно через localhost.

from hexlet-friends.

TurtleOld avatar TurtleOld commented on August 13, 2024

Можно оставить команду без изменений, но указать, что открывать нужно через localhost.

Хорошо, принял

from hexlet-friends.

TurtleOld avatar TurtleOld commented on August 13, 2024

Я написал wiki, но нельзя сделать PR на wiki страницу :)

from hexlet-friends.

antlu avatar antlu commented on August 13, 2024

@fey, настройками запрещено менять wiki.

from hexlet-friends.

fey avatar fey commented on August 13, 2024

@TurtleOld @antlu а зачем вики? Давайте просто в ридми или док в репе

from hexlet-friends.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.