Skip to content

Latest commit

 

History

History
73 lines (45 loc) · 2.94 KB

README.md

File metadata and controls

73 lines (45 loc) · 2.94 KB

Remix Americana Stack

Learn more about Remix Stacks.

To get started, run:

npx create-remix@latest --template nasa-gcn/americana-stack

What's in the stack

Development

The following command will run two processes during development when using Architect as your server.

  • Your Architect server sandbox
  • The Remix development server
$ npm run dev

Your file changes are watched, and assets are rebuilt upon change.

Open up http://localhost:3333 and you should be ready to go!

Deploying

Before you can deploy, you'll need to do some setup with AWS:

If you make it through all of that, you're ready to deploy!

  1. build the app for production:

    npm run build
  2. Deploy with arc

    arc deploy production

You're in business!

Styling

There are a variety of ways to add custom CSS styling.

Theme customization - app/theme.scss

You can customize the USWDS theme by adjusting any of the USWDS settings or by adding custom Sass by editing the file app/theme.scss.

Regular style sheets - app/**/*.css

You can add ordinary CSS stylesheets (file extension .css) anywhere in the app directory and then link them into the route modules where you need them.

CSS modules - app/**/*.module.css

You can add (file extension .module.css) anywhere in the app directory and then include them in any React component.