Compare commits

...

2 commits

Author SHA1 Message Date
9abb6eccb8 default deployment on web 2026-02-19 06:45:21 +03:00
767e3c412d default deployment on web 2026-02-19 06:45:15 +03:00
9 changed files with 1459 additions and 8 deletions

3
.idea/.gitignore vendored Normal file
View file

@ -0,0 +1,3 @@
# Default ignored files
/shelf/
/workspace.xml

File diff suppressed because it is too large Load diff

6
.idea/misc.xml Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectRootManager">
<output url="file://$PROJECT_DIR$/out" />
</component>
</project>

8
.idea/modules.xml Normal file
View file

@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="ProjectModuleManager">
<modules>
<module fileurl="file://$PROJECT_DIR$/.idea/neon_mobile_framework.iml" filepath="$PROJECT_DIR$/.idea/neon_mobile_framework.iml" />
</modules>
</component>
</project>

View file

@ -0,0 +1,9 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

6
.idea/vcs.xml Normal file
View file

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project version="4">
<component name="VcsDirectoryMappings">
<mapping directory="" vcs="Git" />
</component>
</project>

View file

@ -7,8 +7,13 @@ WORKDIR /app
# Copy your custom SDK/framework files from the repo to the container # Copy your custom SDK/framework files from the repo to the container
COPY . . COPY . .
# Ensure your custom dart scripts are executable (if applicable) # Setup the app
# RUN chmod +x bin/your_custom_script.dart WORKDIR /app/NeonFramework-2/neon_framework/my_2nd_test_app
RUN dart pub get
# This keeps the container running so the "Console" stays active # Run the app using the framework CLI
CMD ["tail", "-f", "/dev/null"] # Framework CLI is at ../bin/neon.dart
# App is at . (current workdir)
# Command: dart ../bin/neon.dart run -t web --release
CMD ["dart", "run", "neon_framework:neon", "run", "-t", "web", "--release"]

View file

@ -10,4 +10,4 @@ environment:
dependencies: dependencies:
neon_framework: neon_framework:
path: /Users/hamzaibrahim/Downloads/NeonFramework-latest-v1-2026-2/NeonFramework-2/neon_framework path: ..

View file

@ -22,8 +22,8 @@ class RunCommand extends Command<int> {
'target', 'target',
abbr: 't', abbr: 't',
help: 'Target platform.', help: 'Target platform.',
allowed: ['android', 'ios'], allowed: ['android', 'ios', 'web'],
defaultsTo: 'android', defaultsTo: 'web',
); );
argParser.addOption( argParser.addOption(
'device', 'device',
@ -175,7 +175,7 @@ class RunCommand extends Command<int> {
workingDirectory: project.rootPath, workingDirectory: project.rootPath,
mode: ProcessStartMode.inheritStdio, mode: ProcessStartMode.inheritStdio,
environment: { environment: {
'PORT': '8080', // Force 8080 for bridge compatibility 'PORT': Platform.environment['PORT'] ?? '8080', // Use env PORT or default to 8080
}, },
); );