Publih On: 2023-12-02
Complete installation guide for the Blacks Astro JS template. From download to live site — in minutes.
Full documentation: For a deeper guide with screenshots and step-by-step details, visit the Blacks documentation →
cd C:\Users\pcname\desktop\project
Replace pcname with your computer username, and project with your project folder name.npm install
npm run dev
localhost:4321Now you need to update and configure your website. Access the src/data folder and open:
config.json — website configuration (title, description, navigation, footer, social, contact)home.json — homepage content (hero, features, gallery, services)Change the values to match your project.
Full guide: How to work with data →
Next, move to the src/pages folder. Each page type lives in its own folder:
about — How to update the about page →blog — How to update blog articles →contact — How to update the contact page →gallery — How to update the gallery index →gallery/image — How to update the image gallery →gallery/video — How to update the video gallery →services — How to update service pages →Create promotion widgets displayed on all post pages. Access src/content/services and create new markdown files.
Full guide: How to work with promotion widgets →
Before you deploy, add your domain to astro.config.mjs:
export default defineConfig({
site: 'https://yourdomain.com',
integrations: [preact()]
});
Deploy to any static host:
npm run builddistFull deployment guide: Deploy & Hosting →
Want a headless CMS integrated, or need custom setup all the way to live? Our team can help.
One Astro template for portfolio, company profile, blog, and creative work. Image gallery, cinematic video, blog system, and full SEO. Built for creators.
123 Creative Street
Los Angeles, CA 90001
United States
+1 234 567 890
hello@yourdomain.com