structure of my application looks like:
myapp
--backend
--env
--frontend
-- .idea
-- app
-- assets
-- bower_components
-- views
-- .htaccess
-- index.html
-- node_modules
flag
I used Django as an API and returned the JSON objects from the API and use the data in my AngularJS app in front-end.Both frontend and backend are running on different ports. In the development server, I used start the django server using the following command:
cd backend
./manage.py runserver 127.0.0.1:8000
and start the webserver using:
cd frontend
grunt serve
Now I want to move my application on production server.. So please suggest me how to do it. I have setup the production server (django with apache2 and mod_wsgi). But I dont know how to integrate angularjs with that..