Deploy The Admin Website & REST API / Deploy The Admin Website
Deploy The Admin Website
With the domain URLs configured and pointing at your server, we can now deploy and run the admin website application.
We'll do this with the same steps we went through for the frontend website:
- Push your admin website application code to a remote GitHub repository.
- Pull the GitHub repository code onto your server, install the dependencies, and run the application using Node.js.
- Configure the application to run using PM2 to keep the application running forever.
- Configure Nginx as a reverse proxy so your NodeJS application is served using the
https:// encryption for the website using Let's Encrypt and Certbot.
Before deploying the application in the next steps, ensure the domain URL values in the
/coding-blog/admin/website/next.config.js file match the domains you created and configured with DigitalOcean.
If those are incorrect, the application will not work properly.
Once those are set, let's get to it!
Access the rest of this course with a free account.
Gain full, lifetime access to all of our free courses by creating a free account.
Already have an account? Login