Comments (8)
Hi Thuy,
You need to create a database, not just a Postgres user. This error is being caused by Vulnreport's seed script not having a database to use.
When you do that, your DATABASE_URL should be of the form:
postgres://[USER]:[PASS]@[HOST]/[DB NAME].
from vulnreport.
I understand my mistake. Thank you very much! :)
from vulnreport.
Sorry!!
I setup VulnReport App on local, don't use Heroku to deploy.
I have finished step 2 , it done. I try to open app on web browser, it doesn't display.
I read about Sinatra and I try to run file web.rb, but it displays
And I still don't open web.
Can you guide me how to continue!
Where is my mistake?
from vulnreport.
@ThuyNT2916 below the lines that you screenshotted will be a line like
Maximum connections set to 1024
Listening on 0.0.0.0:443, CTRL+C to stop
That is the host/port you'll need to access to view Vulnreport.
from vulnreport.
After step 2, I need run app by using Sinatra, by command ruby web.rb, Is this true?
I'm trying run app by command ruby web.rb in Vulnreport folder, but I can't run it. Any thing is not enable. Host:port listening doesn't appear.
I use netstat, I don't see app running
I'm using Ruby version 2.3.1
from vulnreport.
No, you should run it using thin start
. See the file in the repo start.sh
for an example of how it can be invoked, though if you are not using authbind
locally you could probably get it going with just thin start
.
from vulnreport.
Another good example of how to start it is in Procfile
:
web: bundle exec thin start -p $PORT --threaded
from vulnreport.
I have done App on local. Thank for your instruction!
from vulnreport.
Related Issues (20)
- Can't export report
- postgres dependency error HOT 6
- Installation/deployment is broken HOT 2
- Admin creds inactive HOT 2
- Ruby version mismatch HOT 3
- Issue while running bundle install HOT 4
- Change export view to PDF HOT 2
- Error when open Settings/VR Settings/Cache Settings HOT 3
- json conflicts HOT 4
- Website is not loaded properly HOT 1
- Rack::Csrf::InvalidCsrfToken at /login HOT 2
- Fails to Build in Heroku HOT 5
- Add another section when creating a report? HOT 3
- Running SEED.rb errors out both on heroku-cli and locally HOT 4
- Running SEED gets segmentation fault on ssl.rb HOT 1
- Fail to install in my Ubuntu
- unmaintained dependencies
- vulnreport.io domain has expired
- Docker file? HOT 1
- SEED.rb fails HOT 1
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 vulnreport.