this repository uses @magic to build the page hosted at thesystem.at
first, open a terminal/console/bash
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
-
shows changed files, run to check which files changed
-
adds all changed files to history
-
add all git changes to the history
-
push all committed changes to github
-
load all changes from github
-
shows all available npm commands
-
creates production build in public directory
-
start the development server in development mode
-
start the development server in production mode
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