Skip to content

silverbeet-technology/website

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

website

This is the code for the Silverbeet Technology website, built with Astro and the Astro Base theme. Viva Open Source!

Installation

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

Distrobox

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.ini and 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 remove

Icons

We use tabler icons, and you should too!

Eratta

Once I had the site setup, before I could successfully build it I had to install another npm package:

npm install -D terser

Thanks

About

The code for the silverbeet tech website

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •