diff --git a/.dockerignore b/.dockerignore index 9999a3e..4367dcf 100644 --- a/.dockerignore +++ b/.dockerignore @@ -2,3 +2,5 @@ node_modules/ .next/ .github/ .DS_Store +android/ +ios/ \ No newline at end of file diff --git a/.gitignore b/.gitignore index 466a532..8037ace 100644 --- a/.gitignore +++ b/.gitignore @@ -41,4 +41,8 @@ next-env.d.ts /public/sw.js /public/sw.js.map /public/workbox-*.js -/public/workbox-*.js.map \ No newline at end of file +/public/workbox-*.js.map + +# capacitor +/android/ +/ios/ \ No newline at end of file diff --git a/capacitor.config.ts b/capacitor.config.ts index 85dc7aa..c0fb114 100644 --- a/capacitor.config.ts +++ b/capacitor.config.ts @@ -3,7 +3,11 @@ import type { CapacitorConfig } from '@capacitor/cli'; const config: CapacitorConfig = { appId: 'rocks.lumina.app', appName: 'LUMINA', - webDir: 'public' + webDir: 'public', + server: { + url: 'https://lumina.rocks', + cleartext: true + } }; export default config; diff --git a/package.json b/package.json index 8219e22..71c0c4b 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,10 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "cap:sync": "npx cap sync", + "cap:build:android": "npx cap sync && npx cap open android", + "cap:build:ios": "npx cap sync && npx cap open ios" }, "dependencies": { "@capacitor/android": "^7.4.3", diff --git a/public/index.html b/public/index.html new file mode 100644 index 0000000..e99259c --- /dev/null +++ b/public/index.html @@ -0,0 +1,40 @@ + + + + + + LUMINA + + + +
+ LUMINA +

Loading LUMINA...

+
+ + +