Giter Site home page Giter Site logo

nghiacc / website Goto Github PK

View Code? Open in Web Editor NEW

This project forked from givelotus/website

0.0 0.0 0.0 23.05 MB

General website for the Logos Foundation

JavaScript 31.66% TypeScript 0.13% CSS 0.13% HTML 0.23% Vue 39.43% Dockerfile 0.24% SCSS 28.17%

website's Introduction

GiveLotus.org made with Vue, NuxtJS and Vuetify

Current pipeline: https://decisive-indigo-970.notion.site/842de46bfec648d698419480e6aa9d18?v=cb4e833f98f24383ba481d14a871114e

Features:

Installation (tested on node >14)

Go to either app or docs folder and run:

yarn

Run Development

yarn dev

Run Development with Docker

You should avoid developing with Docker as it is mostly required for production build and it significantly decreases the feedback loop for making changes and seeing them. (you need to rebuild the container each time you make a change)

  1. Build container
sudo docker build . -t lotus-nuxt
  1. Run container
sudo docker run -it -p 8080:8080 -p 8081:8081 lotus-nuxt:latest

This mode auto redirects to https. Requires SSL certicate to work.

You should disable https redirect in your browser to make it reachable. https://www.itadminguide.com/disable-https-redirect-in-firefox/

If still can't reach try commenting out:

  if ( $http_x_forwarded_proto != "https" ) {
      return 301 https://$http_host$request_uri;
  }

From nginx.confg

You will then be able to visit the app at localhost:8080 and docs at localhost:8081

Build for CDN (SSR)

yarn generate

SPA/UWA

In nuxt.config.js add line:

mode: "universal"

or

mode: "spa"

and remove:

target: 'static',

then

yarn start

Credits:

built with amazing awrora-starter https://github.com/ilhammeidi/awrora-starter

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.