Skip to content

andrewgadziksonos/sonos-web-poc-nextjs-vanilla-extract

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Installation

To install package-name for use within your project use yarn or npm

# Install locally in home directory
$ git clone https://github.com/Sonos-Inc/gitProject ~/package-name

# Install dependencies
$ cd ~/package-name
$ yarn install

# build the application
$ yarn build:ssr

# OPTIONAL: export static html files
$ yarn build:ssg

Running Locally

To start the NextJS development server invoke the following command,

$ yarn dev

Debugging

Use a browser's devtools to help debug React code. For example, in Chrome you can use the Source tab in their DevTools to set breakpoints, etc.

Deployment

Our deployment script utilize Terraform as the infra-as-code solution. As a prerequisite, you must download and install Terraform

Next, you'll need to configure your AWS credentials

Once you have Terraform installed and AWS credentials configured you can invoke the following basic commands,

export AWS_PROFILE=<some-profile>

terraform init
terraform plan
terraform apply

Once you're familiar enough with Terraform, please follow the best practices. Setting up a remote backend is a must.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published