Making Comic Posts
Note: this bit is very much optional, so feel free to skip. I offer it here because we’re most of the way there for this. You can always come back later and try this for future site editing, so no pressure right now.
Local setup?! Local setup let’s you have a hot-reloading (hot-reloaing basically means it refreshes the site as we make changes, so you see them right away) version of the website through your command line/on your computer to preview your changes before you push them up to your repository.
This part requires using the Terminal
app on your computer, but don’t worry, I’ll guide you through everything and it’s not going to horribly mess things up.
Tools to download:
- node js
TO DO: write about local development and why
- install node js.
- navigate to the cloned repository in the terminal window
- type
npm install
this will install dependencies for the project, and may take a few minute. - In the same terminal, start a local webserver by entering
npm start
You now have a hot-reloading preview of your website! Go ahead and start tailoring the template for your comic. When you’re ready to publish, just commit and push your changes in GitHub Desktop; your site should update on Neocities shortly afterwards!