advfe-unified-workspace

Advanced Front End: Testing the Build

All our hard work is about to pay off.


Now that all the settings are in place, we can test that the builds for both parts of the project are running together on the same server port.

  1. Ensure all running servers are terminated. In any running terminals press Ctrl+C

  2. In your env.py file, ensure that both the DEBUG and DEV environment variables are commented out

    dev and debug variables commented out in an env.py file

  3. Run the Django server, in the terminal type

    python3 manage.py runserver

  4. Open the preview on port 8000 to check that your application is running

    The React server should not be running. This is a test to check that Django is serving the React static files.

With that done, make sure to commit your changes. You are now ready to deploy the project to Heroku.

Up Next

Now everything is tested, let’s deploy!