Created
November 1, 2022 06:03
-
-
Save ProfAvery/5780dafa1736110ee612d7ea1384e19c to your computer and use it in GitHub Desktop.
CPSC 349 - Create .remake file
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
#!/usr/bin/env node | |
module.paths.push('./_remake') | |
const nanoidGenerate = require('nanoid/generate') | |
const dotRemake = require('utils/dot-remake') | |
dotRemake.writeDotRemake({ | |
port: 3000, | |
sessionSecret: nanoidGenerate('1234567890abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ', 30) | |
}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment