Using nuxt framework as a base of the community portal
yarn
or
npm i
To get access to a running EDT Offline's API pass the EDT_HOST
variable, for example:
EDT_HOST=10.92.138.74 yarn dev
or
EDT_HOST=10.92.138.74 npm run dev
In the index.md frontmetter you can set your homepage.
Run:
docker run -p 3000:3000 -d communityfirst/edt-offline-portal
The application should be running on: http://localhost:3000
Use the full
tag to get the portal with all the applications pre-downloaded. Ex.:
docker run -p 3000:3000 -d communityfirst/edt-offline-portal:full
The nuxt documentation is here we decide use nuxt because is more clean and send just the html files without javascript. This is good thing for people with slow devices.
We use content as markdown implementations.
For write in markdown we can start with those instructions
About styles and css we use windcss a simplification for tailwindcss where we can find the documentations about how can use this things.
https://github.com/nuxt-community/localforage-module
yarn
ou
npm i
yarn dev
ou
npm run dev
Editar index.md com as suas configurações
Utilizar o nuxt framework como base do portal comunitário
A documentação nuxt é aqui decidimos usar nuxt porque é mais limpa e enviamos apenas os ficheiros html sem javascript. Isto é bom para pessoas com dispositivos lentos.
Utilizamos conteúdo como implementações de markdown.
Para escrever no markdown, podemos começar com essas instruções
Sobre estilos e css usamos windcss uma simplificação para tailwindcss onde podemos encontrar a documentação sobre como usar estas coisas.