This is a NextJS starter in Firebase Studio.
To get started, take a look at src/app/page.tsx.
You can run this application on your local machine (like a Windows PC) for development and testing. You don't need to convert it to a desktop application. Here's how:
- Install Node.js: If you don't have it installed, download and install the "LTS" (Long Term Support) version of Node.js from the official website: https://nodejs.org/
- Node.js includes
npm
(Node Package Manager), which you'll need to install the project's dependencies.
- Node.js includes
- Open a Terminal: Open a command prompt, PowerShell, or any other terminal on your Windows PC.
- Navigate to Project Directory: Use the
cd
command to go to the folder where your project files are saved. - Install Dependencies: Run the following command. This will download and install all the necessary packages listed in your
package.json
file. You only need to do this once.npm install
After the initial setup, you can start the application easily without opening a terminal manually.
- Find
start-local.bat
: In your project folder, you will find a new file namedstart-local.bat
. - Double-Click to Run: Simply double-click this file. It will automatically:
- Open a new terminal window for the server (keep this window open).
- Wait a few seconds for the server to be ready.
- Open the ProSched application in your default web browser.
For a true desktop experience:
- Right-click on
start-local.bat
and select "Send to > Desktop (create shortcut)". - Go to your desktop, rename the new shortcut to "ProSched".
- You can even change the icon! Right-click the shortcut, go to Properties > Shortcut > Change Icon....
If you prefer to start the server manually:
- Start the Development Server: In your terminal, run this command:
npm run dev
- View Your App: Open your web browser and go to the address shown in the terminal, which is usually
http://localhost:9002
.
Your application is now running locally! Any changes you save to the code will automatically be reflected in your browser.
You can download a .zip
file of your entire project to your local computer. While there is usually a "Download Code" button in the top toolbar, you can also use the built-in Firebase Terminal.
-
Open the Terminal: At the bottom of the Firebase Studio interface, you should see a "Terminal" tab. Click on it to open the command-line interface.
-
Run the Export Command: In the terminal, type the following command and press Enter:
firebase studio:export prosched-app.zip
This command tells Studio to package your entire project into a single zip file named
prosched-app.zip
. -
Locate and Download: After the command finishes (it might take a moment), you will see the
prosched-app.zip
file appear in the file explorer panel on the left-hand side of the screen. Right-click on this file and select "Download" to save it to your computer.