question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

A short tutorial on how to deploy

See original GitHub issue

Auto-reviewers: @NiharikaRay @matthewwardrop @earthmancash @danfrankj

Hi, I have been loving this tool. Thus far I have only used runserver to view the knowledge feed. I would now like to deploy. It does not matter to me where it deploys. It could be a custom domain name, or heroku, or anything else. I am just a little lost on how to deploy. From reading the documentation I got this far.

knowledge_repo --repo app/ deploy

From this I get the following:

INFO:knowledge_repo.repositories.gitrepository:Fetching updates to the knowledge repository...
INFO:alembic.runtime.migration:Context impl SQLiteImpl.
INFO:alembic.runtime.migration:Will assume non-transactional DDL.
[2018-01-09 19:33:58 -0500] [17729] [INFO] Starting gunicorn 19.7.1
[2018-01-09 19:33:58 -0500] [17729] [INFO] Listening at: http://0.0.0.0:7000 
[2018-01-09 19:33:58 -0500] [17729] [INFO] Using worker: sync
[2018-01-09 19:33:58 -0500] [17772] [INFO] Booting worker with pid: 17772
[2018-01-09 19:33:58 -0500] [17775] [INFO] Booting worker with pid: 17775
[2018-01-09 19:33:58 -0500] [17778] [INFO] Booting worker with pid: 17778
[2018-01-09 19:33:58 -0500] [17781] [INFO] Booting worker with pid: 17781

This is obviously only viewable on my computer at http://0.0.0.0:7000.

How do I make this deployable to the web?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Reactions:1
  • Comments:8 (1 by maintainers)

github_iconTop GitHub Comments

3reactions
matthewwardropcommented, Jan 21, 2018

@alexhallam Hi Alex. I’m glad you got things sorted out!

A few pointers for you:

  • we recently added support for authentication but did not introduce a default local implementation (expecting that people who cared about such things would create their own integrations). It would probably be a good idea to allow people to set up a static username/password list so that for people looking for a simple solution need not look far. [Patches welcome].
  • If you change the knowledge-repo’s port to 80, instead of 7000, then you won’t need to type the ‘:7000’ into your browser (:80 is the default for HTTP services).
0reactions
martinapugliesecommented, Mar 4, 2018

@alexhallam I did! This is the rule added to the security group: screen shot 2018-03-04 at 09 03 18

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to DEPLOY your website in UNDER 5 MINUTES - Tutorial
Hey everyone! If you are looking for a quick and easy way to deploy your project onto the internet with a personalised free...
Read more >
How to Deploy a Website - Codecademy
1. Create a Website. Use Jekyll, a popular static site generator, to quickly create a functional, customizable website. · 2. Deploy Your Website....
Read more >
Create a simple helloWorld deployment - IBM
In this tutorial, you create a simple application with IBM™ UrbanCode™ Deploy. You use standard plug-ins to create a component and define an...
Read more >
Deploying our app - Learn web development | MDN
Note: There are also a lot of guides and tutorials on Netlify to help you improve your development workflow. Let's get this done:...
Read more >
Quick start guide to creating and deploying a web app
Familiarize yourself with command line tools to create, build, and manage your application. This tutorial was originally developed as a workshop for WECode...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found