Skip to content

deanstein/ccp-website

Repository files navigation

Cinderella City Project Website

A website for the Cinderella City Project, including the history of Cinderella City and latest updates on the project.

Developing

First time install

yarn install

Run the dev website

Use this when changes are in progress and realtime updates are required.

yarn run dev

NOTE: When testing, you may notice that styles flash when the page initially loads. This can be ignored as it shouldn't happen when the compiled website runs.

Building

Build and preview the final website

Use this when changes are not in progress, and the website should be actually built for final testing.

First, build ccp-website locally:

yarn build

Then host it locally for viewing:

yarn preview

NOTE: When testing, you may notice that styles flash when the page initially loads. This can be ignored as it shouldn't happen when the final website host is compiled.

NOTE: If changes are made after building, cancel the preview server, and run yarn build and yarn preview again to ensure the latest version of the website is built.

Testing jdg-ui-svelte locally

This website uses jdg-ui-svelte and if that package is also being updated locally, be sure to test this website with that latest package.

First, create a link in the jdg-ui-svelte repo:

yarn link

Then, switch to the ccp-website repo and run:

yarn link jdg-ui-svelte

If you want to use the official package (not the linked one), be sure to un-link:

yarn unlink jdg-ui-svelte

About

A website for the Cinderella City Project, including the history of Cinderella City and latest updates on the simulation.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors