Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install
Add path for 'location/flutter/bin'
| #https://stackoverflow.com/questions/58065603/netlify-renders-404-on-page-refresh-using-react-and-react-router | |
| [[redirects]] | |
| from = "/*" | |
| to = "/index.html" | |
| status = 200 |
Download Flutter SDK, extract the "Flutter" folder and put somewhere on your machine https://flutter.dev/docs/get-started/install
Add path for 'location/flutter/bin'
| const multer = require('multer'); | |
| const storage = multer.diskStorage({ | |
| destination: function (req, file, cb) { | |
| cb(null, './uploads/') | |
| }, | |
| filename: function (req, file, cb) { | |
| cb(null, new Date().toISOString() + '-' + file.originalname) | |
| } | |
| }) |
Steps to deploy a Node.js app to DigitalOcean using PM2, NGINX as a reverse proxy and an SSL from LetsEncrypt
If you use the referal link below, you get $10 free (1 or 2 months) https://m.do.co/c/5424d440c63a
I will be using the root user, but would suggest creating a new user
| // Discord all events! | |
| // A quick and dirty fleshing out of the discord.js event listeners (not tested at all!) | |
| // listed here -> https://discord.js.org/#/docs/main/stable/class/Client | |
| // Learn from this, do not just copy it mofo! | |
| // | |
| // Saved to -> https://gist.github.com/koad/316b265a91d933fd1b62dddfcc3ff584 | |
| // Last Updated -> Halloween 2022 | |
| /* |
Run pip install pipenv to install pipenv
Run pipenv shell to create an environment, if does not exist, and activate it.
Run pipenv install python_decouple whitenoise dj_database_url Pillow gunicorn
May take a while.
This should create two files: Pipfile and Pipfile.lock. Keep them in the project root.
Controllable Crowd-sale and transferable ownership allows you to change ownership and change exchange rates.