This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ***Simple and stripped down version of this post: https://www.coderrocketfuel.com/article/how-to-deploy-a-next-js-website-to-a-digital-ocean-server *** | |
| 1. Create a New Droplet On DigitalOcean | |
| a) In the first section, select the Ubuntu operating system for your server | |
| b) In the "Authentication" section, make sure the "Password" option is selected and enter a strong root password for your server. | |
| 2. Access Server Using Root | |
| a) ssh root@server_ip_address (connect to server from terminal) | |
| 3. Add user (OPTIONAL) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| alias server='open http://localhost:8000 && python -m SimpleHTTPServer' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| As of version 1.1.2, Propane will load and execute the contents of | |
| ~Library/Application Support/Propane/unsupported/caveatPatchor.js | |
| immediately following the execution of its own enhancer.js file. | |
| You can use this mechanism to add your own customizations to Campfire | |
| in Propane. | |
| Below you'll find two customization examples. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /* | |
| Nice to study. Original here http://www.20thingsilearned.com/js/twentythings.min.js | |
| */ | |
| var TT = TT || {}; | |
| TT.PAGE_WIDTH = 800; | |
| TT.PAGE_HEIGHT = 500; | |
| TT.PAGE_MIN_WIDTH = 1000; | |
| TT.PAGE_MIN_HEIGHT = 680; | |
| TT.PAGE_MARGIN_LEFT = 32; |