Swampdragon settings.js

208 Views Asked by At

Where I can find this file?

I tried to use this tutorial and just copy paste most of all examples. But when I'm trying to launch this app, I have an error:

Failed to load resource: the server responded with a status of 404 (Not Found)

Server is trying to load settings.js file from http://domain.name/settings.js, but that file doesn't exist. What is this?

1

There are 1 best solutions below

1
On BEST ANSWER

add server.py

import os
from swampdragon.swampdragon_server import run_server
os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'project.settings')    
run_server()

and run python server.py