Git Product home page Git Product logo

linux-course's Introduction

The Full Linux Course

This repo contains the project source code the the The Full Linux Self-hosting Course.

How to Run it Locally

git clone <this-repo> guestbook
cd guestbook

npm install
npm run dev

./pocketbase serve

Pocketbase Setup Instructions

Navigate to localhost:8090/_/

Create an admin account for your pocketbase backend

In Pocketbase, go to settings -> auth providers -> github

In order to enable GitHub login, you will need to create a GitHub OAuth app to obtain a Client ID and Secret.

Set the callback URL to: http://127.0.0.1:8090/api/oauth2-redirect

Set the Client ID and Secret in Pocketbase and you should now be able to login with GitHub locally.

linux-course's People

Contributors

codediodeio avatar

Stargazers

Jordan Taylor avatar Sk Shahriar Ahmed Raka avatar Daniel David Sintimbrean avatar Enes Bekar avatar Dinesh avatar Andrew James Okpainmo avatar Nicolò Santilio avatar Khanh Nguyen avatar Saksham Maharjan avatar Bartosz Sławecki avatar Dev Patel avatar Rihan avatar

Watchers

 avatar

linux-course's Issues

Type error: Cannot find name 'DateTime'

I keep getting this error when I try running npm run build

This has happened in CentOS and in Ubuntu.

 Linting and checking validity of types  ..Failed to compile.

./app/Guestbook.tsx:58:21
Type error: Cannot find name 'DateTime'.

  56 |       const record = await pb.collection('users').update(user.id, {
  57 |         message: message,
> 58 |         signed: new DateTime()
     |                     ^
  59 |       });
  60 |       console.log('Guestbook signed:', record);
  61 |     //   setLastMessage(message);

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.