Skip to content

thesystemcollective/thesystem.at

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

thesystem.at

this repository uses @magic to build the page hosted at thesystem.at

Things you can do with this repository:

first, open a terminal/console/bash

get copy of this homepage to work on locally:

if you do not have set up your ssh keys or do not know what they are:

git clone https://github.com/thesystemcollective/thesystem.at

if you have set up your ssh keys (see github help)

git clone [email protected]:thesystemcollective/thesystem.at

now you have a local copy in ./thesystem.at:

cd ./thesystem.at

git tasks:

  • git status

    shows changed files, run to check which files changed

  • git add . / git add src / git add docs

    adds all changed files to history

  • git commit -m "commit message (event eventName)"

    add all git changes to the history

  • git push

    push all committed changes to github

  • git pull

    load all changes from github

npm run tasks:

  • npm run

    shows all available npm commands

  • npm run build

    creates production build in public directory

  • npm run dev

    start the development server in development mode

  • npm run prod

    start the development server in production mode

workflow for changing content:

first, run the development server:

npm run dev

then load http://localhost:2323

you should see a preview of the page now.

you can now change any files in the src/ directory and see the changes once you reload the page.

done changing content and happy with the result?

# build the files from ./src/ to ./docs/
npm run build

# add src dir to save your changes in git
git add src
git commit -m "description of what changed"

# add docs dir to save build output that gets served
git add docs
git commit -m "update docs"

# push changes to github
git push