Comments (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.
same as the demo env
from ralph.
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.
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)
- Networks missing import & export options
- Multiple Stored XSS in Operations - Ticket ID
- ARM64 support
- ralh is still based on django 1.8 when this is no longer supported
- docker-compose.yml.tmpl missing / located elsewhere HOT 2
- the ralph default password? HOT 3
- How to add vmware server?
- Delete user sends me Server Error (500) HOT 3
- server error 500 fresh install HOT 2
- error when exporting / importing rack list
- data center asset import doesn't show 'management_ip'
- demo login credits wrong HOT 4
- Is this project active? HOT 1
- DC visualization couldn't show device view on front and rear sides, which is really weird.
- Support PostgreSQL in official docker image HOT 2
- Unable to load static resources
- Operations tab on Virtual Server (VM) description
- demodata not working
- Online Demo Not Working HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ralph.