Installation and Setup Guide
This guide will walk you through the process of setting up the DISC Workshop Series Website locally for development.
Prerequisites
Before you begin, ensure you have the following installed on your system:
- Node.js (LTS version 18.x or later)
- npm (comes with Node.js) or yarn
- Git for version control
- A code editor (we recommend VS Code)
System Requirements
- Operating System: Windows 10+, macOS, or Linux
- Memory: 4GB RAM minimum (8GB recommended)
- Disk Space: At least 1GB of free space
- Browser: Chrome, Firefox, Safari, or Edge (latest versions)
Installation Steps
1. Clone the Repository
First, clone the project repository from GitHub:
git clone https://github.com/ethanpaneraa/disc-fall-2024-workshop-series-website.git
cd disc-fall-2024-workshop-series-website
2. Install Dependencies
Install all required dependencies using npm:
npm install
Or if you prefer using yarn:
yarn install
3. Start Development Server
Start the local development server:
npm run dev
Or with yarn:
yarn dev
The website should now be running at http://localhost:3000
Verification
After installation, verify that everything is working correctly:
- Open your browser and navigate to
http://localhost:3000 - Verify that the home page loads correctly
- Check that navigation works
- Confirm that MDX content renders properly
Common Issues and Solutions
Build Errors
If you encounter build errors:
- Clear your node_modules and reinstall:
rm -rf node_modules
npm install
- Clear Next.js cache:
rm -rf .next
Port Already in Use
If port 3000 is already in use:
- Kill the process using the port:
lsof -i :3000
kill -9 <PID>
- Or start the server on a different port:
npm run dev -- -p 3001
TypeScript Errors
If you see TypeScript errors:
- Ensure TypeScript is installed:
npm install typescript @types/react @types/node --save-dev
- Reset TypeScript configuration:
rm -rf tsconfig.json
npm run dev
Development Tools
We recommend installing these tools for better development experience:
-
VS Code Extensions:
- ESLint
- Prettier
- Tailwind CSS IntelliSense
- MDX
- GitHub Copilot (optional)
-
Browser Extensions:
- React Developer Tools
- Redux DevTools (if using Redux)
Next Steps
Now that you have the project set up locally, you can:
- Review the Project Structure documentation
- Learn about how to quickly start working on our project
- Check out our Contributing Guidelines
Need Help?
If you encounter any issues during installation:
- Create an issue on GitHub
- Reach out to the development team: