Giter VIP home page Giter VIP logo

Comments (4)

mah-jp avatar mah-jp commented on September 21, 2024 4

The procedure described below seems to successfully start Ralph in a docker environment.

git clone https://github.com/allegro/ralph.git
cd ralph/docker
cp -a docker-compose.yml{,.original}
vim docker-compose.yml                        # Edit the value "80:80" to "8080:80" in nginx section if you wish

##docker compose build                        # This line does not need to be executed
##docker compose run --rm web /root/init.sh   # This line does not need to be executed
##docker compose run --rm web ralph demodata  # This line does not need to be executed
docker compose up -d

docker exec -it --user root docker-web-1 /bin/bash
/var/local/ralph/docker-entrypoint.sh init    # Initializing database
/opt/ralph/ralph-core/bin/ralph demodata      # Optional step for demodata
exit

open http://0.0.0.0:8080/                     # ralph:ralph -> OK

from ralph.

haiya512 avatar haiya512 commented on September 21, 2024

same as the demo env

from ralph.

EBII avatar EBII commented on September 21, 2024

You can exec in the web_1 container after the first docker-compose up.
docker exec -it -u root web_1 bash (or an other way)
in the shell you are in django env..
You can use ralphctl like ./manage.py in django !

so
ralphctl migrate will make you db from ralph models..
ralphctl createsuperuser to create the first user
so yo can also use demo data
then refresh url

from ralph.

jamess60 avatar jamess60 commented on September 21, 2024

Given the official first party hosted demo site was also down at the same time and exhibited the same behavior, surely this issue is somehow related?

from ralph.

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.