Website source code and assets for Amblisberget Skianlegg.
Website, maps and media created by MjøsDrone.
This guide will help you set up and customize your website. Don't worry if you're not familiar with web development - we've made it easy to make common changes!
-
Install Required Software
- Install Node.js (LTS version)
- Install Visual Studio Code (recommended editor)
-
Extract and Open the Website
- Extract the website to a folder on your computer
- Start Visual Studio Code
- Go to
File > Open Folder
and select the extracted website folder
-
Start the Development Server
- In Visual Studio Code, open the terminal by going to
View > Terminal
in the top menu - In the terminal that appears at the bottom, type these commands:
npm install npm run dev
- Wait for the installation to complete
- The website will automatically open at
http://localhost:5173
. If it doesn't, open your browser and navigate tohttp://localhost:5173
- Keep Visual Studio Code open while working on the website
- In Visual Studio Code, open the terminal by going to
The website is organized into different sections that control specific aspects of its appearance and functionality:
variables.css
: Control colors, fonts, sizes, and spacingmap.css
: Customize map controls and appearance- See our Style Guide for detailed instructions
index.html
: Main webpage structuresrc/
: JavaScript and Style filesassets/
: Images and other media filescomponents/
: Reusable website parts
- Map settings and layers
- Buttons and controls
- POIs and trails
Here's where to look for different types of changes:
📁 src/styles/variables.css
- Website colors
- Font sizes
- Spacing between elements
- See the Style Guide for step-by-step instructions
📁 src/index.html
- Website text
- Links
- Basic structure
📁 src/assets/
- Replace images by adding new files here
- Use the same filenames as the existing images
- Supported formats: JPG, PNG, SVG
-
Making Changes
- Open the project in Visual Studio Code
- Start the development server:
npm run dev
- Make your changes
- The website will automatically update
-
Testing Changes
- View the website at
http://localhost:5173
- Test on different devices using the browser's device simulation
- Check all features work as expected
- View the website at
-
Publishing Changes
- Save all your changes
- Contact MjøsDrone for deployment assistance
-
Style Changes
- Refer to our Style Guide for detailed instructions
- Make one change at a time
- Keep note of original values in case you need to revert
-
Technical Support
- Contact MjøsDrone for assistance
- We're here to help with any questions!
This project is licensed under The Affero General Public License (AGPL3), see the LICENSE file for more details.
This project is tested with BrowserStack.