YunoHost portal using Nuxt.js
Find a file
cjdw b11ca44463 Translated using Weblate (Indonesian)
Currently translated at 100.0% (57 of 57 strings)

Translation: YunoHost/portal
Translate-URL: https://translate.yunohost.org/projects/yunohost/portal/id/
2024-08-20 09:44:04 +02:00
assets/icons home: add search engine bar 2024-01-20 14:38:38 +01:00
components cosmetic: Add some top margin to the 'intro' block 2024-08-05 22:06:31 +02:00
composables chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
debian Typo T_T 2024-07-26 23:05:30 +02:00
layouts misc cosmetics 2024-08-20 00:24:07 +02:00
locales Translated using Weblate (Indonesian) 2024-08-20 09:44:04 +02:00
maintenance chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
middleware chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
pages refactor: keep only selected themes and consider "admin" theme as the default dark theme 2024-08-20 00:24:46 +02:00
plugins theme: allow user prefered theme over admin preference and vice versa 2023-11-25 21:28:41 +01:00
utils add pick + exclude object util 2023-08-28 19:12:46 +02:00
.eslintrc.cjs theme: allow user prefered theme over admin preference and vice versa 2023-11-25 21:28:41 +01:00
.gitignore Initial commit 2023-07-14 22:15:32 +02:00
.prettierignore chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
.prettierrc chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
app.vue misc cosmetics 2024-08-20 00:24:07 +02:00
docker-compose.yml chore: lint + add prettierignore + prettier json rules 2024-02-09 15:36:36 +01:00
Dockerfile Add Dockerfile + docker-compose.yml to ease up development ? 2023-07-27 00:38:02 +02:00
error.vue lint: misc fixes 2023-11-14 19:17:04 +01:00
i18n.config.ts i18n: add per locale specific fallback that can be setup by translators 2023-11-18 14:36:55 +01:00
nuxt.config.ts theming: add link to possible custom css stylesheet 2024-08-19 00:11:54 +02:00
package.json maintenance: moar updates 2023-11-18 17:06:50 +01:00
README.md Update dev instructions 2023-07-29 19:32:16 +02:00
spa-loading-template.html replace yunohost logo with loading icon on initial app load 2024-02-09 15:58:58 +01:00
tailwind.config.js refactor: keep only selected themes and consider "admin" theme as the default dark theme 2024-08-20 00:24:46 +02:00
tsconfig.json Initial commit 2023-07-14 22:15:32 +02:00
yarn.lock maintenance: update yarn.lock 2023-11-18 17:07:12 +01:00

POC for new YunoHost portal

Develop (using Docker)

  • Install Docker
    • cf these instructions to add Docker's apt repository
    • and then apt update && apt install docker-ce
  • Install Docker-compose
    • pip3 install docker-compose
  • Inside your Yunohost LXC/ynh-dev/???, make sure the new yunohost-portal-api service is running and corresponding route is in nginx config
  • Important: Inside your Yunohost machine, enable CORS from your dev front-end:
    • echo "http://127.0.0.1:3000" > /etc/yunohost/.portal-api-allowed-cors-origins
    • systemctl restart yunohost-portal-api
  • Back to Yunohost-portal's repo: define what's the IP / domain of your test LXC where the API lives (here, for example, yolo.test which is define in /etc/hosts):
    • echo 'NUXT_PUBLIC_API_IP=yolo.test' > .env
  • docker-compose up -d : will rebuild the docker on the first time, then launch it
  • Check docker-compose logs -f : should show that nuxt/nitro is building stuff then serving it on port 3000
  • Access http://127.0.0.1:3000 from your browser

Develop (manual / directly on your host machine)

  • Basically the same stuff, but ignore docker-related steps. Instead:
  • You'll need NodeJS 18.14 (or higher) and yarn
  • Run yarn install
  • Run yarn dev