tiktok-sparo/apps/website
2024-02-23 15:34:27 -08:00
..
docs Fix broken links 2024-02-21 23:40:31 -08:00
src/css Delete boilerplate files 2024-02-21 22:21:11 -08:00
static Fix broken links 2024-02-21 23:40:31 -08:00
babel.config.js npx create-docusaurus@latest website classic 2024-02-21 22:17:23 -08:00
build.js Fix an issue where the website project did not get built by CI 2024-02-23 15:34:27 -08:00
docusaurus.config.js Remove footer 2024-02-21 23:48:21 -08:00
package.json Fix an issue where the website project did not get built by CI 2024-02-23 15:34:27 -08:00
README.md Update project README.md 2024-02-21 23:48:30 -08:00
sidebars.js Fix broken links 2024-02-21 23:40:31 -08:00

Website

This is the Docusaurus project for the Sparo website.

Development

  1. Install the monorepo dependencies using RushJS:

    rush install
    rush build
    
  2. Launch the local development server:

    cd apps/website
    rushx start
    

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Deployment

  1. If you will manually copy the files to a server, you can build the apps/sparo/build folder like this:

    cd apps/website
    rushx build
    
  2. To automatically deploy to GitHub Pages (as an administrator):

    # If you are using HTTPS authentication for GitHub:
    cd apps/website
    GIT_USER=<Your GitHub username> rushx deploy
    
    # If you are using SSH authentication for GitHub:
    USE_SSH=true rushx deploy
    

See also