Skip to content

Instantly share code, notes, and snippets.

@ManotLuijiu
Last active June 6, 2024 02:45
Show Gist options
  • Save ManotLuijiu/c715571d9bf3bab58bad4be314771599 to your computer and use it in GitHub Desktop.
Save ManotLuijiu/c715571d9bf3bab58bad4be314771599 to your computer and use it in GitHub Desktop.
Configuration for new sst version
/// <reference path="./.sst/platform/config.d.ts" />
export default $config({
app(input) {
return {
name: "project-name",
removal: input?.stage === "production" ? "retain" : "remove",
home: "aws",
providers: {
aws: {
region: "ap-southeast-1",
},
},
};
},
async run() {
new sst.aws.Nextjs("ProjectName", {
domain: {
name: $app.stage === "production" ? "domain.com" : `${$app.stage}.domain.com`,
redirects: $app.stage === "production" ? ["www.domain.com"] : undefined,
},
});
},
});
@ManotLuijiu
Copy link
Author

Apply executable permissions to the standalone binary in the target path for the installation.
sudo chmod +x /usr/local/bin/docker-compose

@ManotLuijiu
Copy link
Author

Error: Unexpected method 'appcast' called on Cask gfortran.
Follow the instructions here:
https://github.com/Homebrew/homebrew-cask#reporting-bugs

rm -rfi $(brew --caskroom)/gfortran ─╯
examine files in directory /usr/local/Caskroom/gfortran?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment