Skip to content

sviete/AIS-WWW

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Website

This website is built using Docusaurus 2, a modern static website generator.

Installation

$ yarn

Local Development

$ yarn start

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

Build

$ yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Test

$ npx http-server build -p 3000

Deployment

AIS dom Server

rsync to staging folder

rsync -e "ssh -p 7777" --delete --progress --stats -ravzh /AIS-WWW/build/ server-user@SERVER-IP:/var/www/ais-www-staging

on server:

cd /var/www/AIS-WWW
# rm all except apt and audio folder
rm -rf !(apt|audio|ota)
cp -R /var/www/ais-www-staging/* /var/www/AIS-WWW

Update OTA only

  1. add files to /static/o

to GitHub

#### to GitHub

$ GIT_USER= yarn deploy


If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the `gh-pages` branch.

$ GIT_USER=<Your GitHub username> yarn deploy

If you are using GitHub pages for hosting, this command is a convenient way to build the website and push to the gh-pages branch. ta 2. add info to /static/ota/index.html 3. commit & push to GitHub 4. rsync

rsync -e "ssh -p 7777" --delete --progress --stats -ravzh /home/andrzej/Projects/AIS-WWW/static/ota/ server-user@SERVER-IP:/var/www/AIS-WWW/ota

About

🕸️ web page for AI-speaker project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published