YunoHost portal using Nuxt.js
Find a file
2023-07-27 01:04:36 +02:00
assets/img Initial commit 2023-07-14 22:15:32 +02:00
components add Password page 2023-07-26 05:19:52 +02:00
composables add redirect after login 2023-07-26 05:24:04 +02:00
layouts add temp theme selector 2023-07-26 04:30:24 +02:00
locales add Password page 2023-07-26 05:19:52 +02:00
middleware add redirect after login 2023-07-26 05:24:04 +02:00
pages add redirect after login 2023-07-26 05:24:04 +02:00
.eslintrc.cjs misc fixes 2023-07-25 22:22:59 +02:00
.gitignore Initial commit 2023-07-14 22:15:32 +02:00
docker-compose.yml Add Dockerfile + docker-compose.yml to ease up development ? 2023-07-27 00:38:02 +02:00
Dockerfile Add Dockerfile + docker-compose.yml to ease up development ? 2023-07-27 00:38:02 +02:00
nuxt.config.ts misc fixes 2023-07-25 22:22:59 +02:00
package.json update Login view with form components 2023-07-25 19:24:27 +02:00
README.md Proper link to Docker instructions 2023-07-27 01:04:36 +02:00
tailwind.config.js use explicit class names for tailwind inspector 2023-07-25 23:11:32 +02:00
tsconfig.json Initial commit 2023-07-14 22:15:32 +02:00
yarn.lock Add Dockerfile + docker-compose.yml to ease up development ? 2023-07-27 00:38:02 +02: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 is running and corresponding route is in nginx config
  • Add something like NUXT_PUBLIC_API_IP=yolo.test inside a .env which you may need to create. Replace yolo.test with you test domain or test IP (eg your ynh-dev LXC)
  • 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 127.0.0.1:3000 from your browser

Develop (manual / directly on your host machine)

  • Same as for Docker, this assumes that yunohost-portal-api does run, is configured in nginx, and you may have to set NUXT_PUBLIC_API_IP in .env which you may have to create
  • You'll need NodeJS 18.14 (or higher)
  • And yarn
  • Run yarn install
  • Run yarn dev