Coder Social home page Coder Social logo

nicober1 / ofi-blog Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lebalz/ofi-blog

0.0 0.0 0.0 963.04 MB

License: GNU Affero General Public License v3.0

Shell 0.06% JavaScript 1.71% Python 1.92% TypeScript 11.59% CSS 0.10% HTML 83.18% SCSS 1.44%

ofi-blog's Introduction

OFI Blog

Build Status

OFI Blog

Styling

The theme/classic is used. It is build with infima.

New Documentation

Add or edit new docs in docs/. This will have effect to all different "Versions" since their versions are only simlinked.

Enable docs to a course

To enable specific docs to a course, either add manually a symlink, or call the bash script bin/enable.

E.g. to enable the contents of [docs/byod_basics] for the course 24i:

bin/enable byod_basics 24i

Disable docs from a course

To disable docs from a course, either remove the simlink manually, or call the bash script bin/disable:

E.g. to disable the contents of [docs/byod_basics] for the course 24i:

bin/disable byod_basics 24i

Installation

yarn install

Local Development

yarn start

This command starts a local development server and opens up a browser window. Most changes are reflected live without having to restart the server.

Build

yarn build

This command generates static content into the build directory and can be served using any static contents hosting service.

Deployment

Either

  • Setup github actions to deploy your page on each push to the main branch.
  • or setup a drone runner to build the project and deploy it to gh-pages.

Custom Domain

  • Add a CNAME File to the static directory
  • Disable CLoudflare "DNS Proxy" temporarly
  • Deploy
  • Let Github generate SSL certificates for you
  • Check "Enforce https:"
  • Re-Enable DNS Proxy on Cloudflare again.

Start Postgres on osx

postgres -D /usr/local/var/postgres

Ejected Theme Components

Make sure to check the compatibility after a docusaurus upgrade:

Component Swizzle
DocVersionBadge yarn run swizzle @docusaurus/theme-classic DocVersionBadge --eject --typescript
NavbarItem yarn run swizzle @docusaurus/theme-classic NavbarItem --eject --typescript
NotFound (safe) yarn run swizzle @docusaurus/theme-classic NotFound --eject --typescript

โš ๏ธ If you change the baseUrl setting in docusaurus.config.js, then search for it in the project, to change all occurances!

ofi-blog's People

Contributors

graficpixeltdsm avatar lebalz avatar liloubrandi avatar no0ne155 avatar

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.