This website is built using the following technologies:
- SolidStart
- TailwindCSS
- bun - This is a Rust-based NPM substitute. No bun? visit bun's website and follow their installation guide.
Open your terminal in the landing-page directory and run the following to install all the dependencies of the front end at once:
bun installThe installation process may take a couple of minutes if you have really bad wifi. Otherwise give it a couple of seconds.
To start the local server run:
bun devThis command:
- Starts your local development environment
- Enables hot reloading, which automatically refreshes the browser when you save changes
Note: It might be a good idea to keep the terminal window open while working, as it displays important error messages and build information.
When preparing the project for deployment run the following command:
bun run buildThis creates a production build in a dist directory. It does the following:
- Minifies and optimizes all code
- Bundles assets efficiently
- Removes development-only features
- Adds hash values to filenames for cache management
The dist folder contains all the front end files that are necessary to deploy the front end to whatever hosting service we choose like:
- Netlify
- Vercel
- Cloudflare Pages
- Other static hosting services
If you encounter problems, here are some common solutions:
-
Command not executing:
- Verify you're in the correct directory
- Run
bun installagain - Confirm bun is installed with
bun --version
-
Changes not reflecting:
- Ensure the development server is running
- Check the terminal for error messages
- Try refreshing the browser
-
Build failures:
- Save all pending changes
- Review terminal output for specific errors
- Run
bun installto update dependencies