-
Notifications
You must be signed in to change notification settings - Fork 1
Getting Started
BytexGrid edited this page Jan 21, 2025
·
2 revisions
This guide will help you set up SoftStacker for local development and understand its basic concepts.
- Node.js 20.x or later
- npm or yarn
- Git
- GitHub account (for authentication)
- Supabase account (for database)
-
Clone the repository:
git clone https://github.com/BytexGrid/SoftStacker.git cd SoftStacker/softstacker -
Install dependencies:
npm install
-
Set up environment variables: Create a
.env.localfile in thesoftstackerdirectory with the following variables:NEXT_PUBLIC_SUPABASE_URL=your-supabase-project-url NEXT_PUBLIC_SUPABASE_ANON_KEY=your-supabase-anon-key GITHUB_ID=your-github-oauth-client-id GITHUB_SECRET=your-github-oauth-secret
-
Start the development server:
npm run dev
-
Visit http://localhost:3000 in your browser
-
Create a GitHub OAuth App:
- Go to GitHub Developer Settings
- Create a new OAuth App
- Set the callback URL to
http://localhost:3000/api/auth/callback/github - Copy the Client ID and Client Secret
-
Configure Supabase:
- Create a new Supabase project
- Enable GitHub Auth in Authentication settings
- Add the GitHub OAuth credentials
- Copy the project URL and anon key
- Visit the homepage to see featured templates
- Use the OS-specific pages to find templates for your system
- Filter templates by category or search by keywords
- Sign in with your GitHub account
- Click "Submit Template" in the navigation
- Fill in the template details:
- Title and description
- Target operating system
- Required and optional applications
- Package manager information
- Browse to a template you want to use
- Review the included applications
- Check "Installation" to get package manager commands
- Follow the installation instructions
- Read the User Guide for detailed feature explanations
- Check out the Developer Guide to understand the codebase
- Visit Contributing Guide to learn how to contribute