Comments (4)
I think the simplest way is to run the application with command
django-admin runserver localhost:80
On the the hand this approach may be not a good practice in general. I believe, the best way to change the application access port is to use nginx and proxy all requests on port 80 to port 9090.
from omaha-server.
Thanks I would try,
Now I can't build omaha server :(
I tried fresh build on new ubuntu but not success :((
I think crystalnix need to re-check lastest source with new machine :(
from omaha-server.
When I run django-admin runserver localhost:80
from the root directory of project checkout, I get following error:
Traceback (most recent call last):
File "/usr/bin/django-admin", line 5, in <module>
management.execute_from_command_line()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(*args, **options.__dict__)
File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 279, in execute
saved_locale = translation.get_language()
File "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 154, in get_language
return _trans.get_language()
File "/usr/lib/python2.7/dist-packages/django/utils/translation/__init__.py", line 52, in __getattr__
if settings.USE_I18N:
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 54, in __getattr__
self._setup(name)
File "/usr/lib/python2.7/dist-packages/django/conf/__init__.py", line 47, in _setup
% (desc, ENVIRONMENT_VARIABLE))
django.core.exceptions.ImproperlyConfigured: Requested setting USE_I18N, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
from omaha-server.
@vivekgalatage You may try something like this
./manage.py runserver --settings=omaha_server.settings_local
Also see discussion here.
from omaha-server.
Related Issues (20)
- period in any application name causes statistics page to return a server error
- Crash dumps are publicly readable for every AWS users HOT 3
- No statistics because no userid is sent with update client HOT 3
- Need to disable signed url
- 400 Bad request - lxml HOT 1
- omaha-server doesn't support newer omaha client build
- Server uses wrong Redis DB in some cases
- Must we open source the fork of Omaha server? HOT 4
- Multiple architecture app. HOT 1
- Incorrect protocol
- Problem during installation of omaha-server HOT 1
- The connection attempt failed HOT 1
- postgres service never starts up HOT 1
- HTML in Sparkle appcast.xml should not be escaped
- ERROR: client and server don't have same version (client : 1.21, server: 1.18)
- 400 Bad request HOT 2
- Allowlist GoogleUpdate.exe in firewall error in Installer
- Linux- Resource temporarily unavailable - Google Omaha Server deployment using supervisord HOT 1
- build install.go HOT 1
- BAD_REQUEST 400 when running omaha installer 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 omaha-server.