This is the code for the Silverbeet Technology website, built with Astro and the Astro Base theme. Viva Open Source!
To build the Silverbeet site to base a project off of, install npm and git on your system and follow these steps
- Clone the repository
git clone https://github.com/silverbeet-technology/website.git
cd website- Install dependencies
npm install- Start the development server
npm run dev-
Open your browser Navigate to localhost:4321
-
More information on using this theme is available on their GitHub page: jonnysmillie/astro-base
I use Distrobox extensively, basically it allows you to run a Linux environment as a container, and I use that as my development system to configure and build my websites, this way I can install required packages and not have to worry about poluting the host system. The only requrements are a container framework (Docker, Podman, etc), then installing Distrobox so it works together. After that you can try it out.
- First, edit the file
.dbx.iniand edit it how you need, I run a minimal Alpine Linux image with the tools I need pre-installed.
vi .dbx.ini- Then run it, the script calls that ini file as a configuration file and once the container is up and running it'll enter the environment
./dbx.sh- Currently the only option I have in the script is 'remove' to remove the container if you need it cleaned up
./dbx.sh removeWe use tabler icons, and you should too!
Once I had the site setup, before I could successfully build it I had to install another npm package:
npm install -D terser