README.md

November 12, 2022 ยท View on GitHub

TFD E-Learning using Nuxt/Content + TailwindCSS


Version Package License YouTube Channel Subscribers

Features

This is a blog with course selling feature powered by @nuxt/content and TailwindCSS with integration-ready with forestry.io for headless CMS.

TFD E-Learning

Demo

Official TFD Blog

Setup Guide

Clone or Fork this git repository to your Github account.

$ git clone https://github.com/tfd-ed/tfd-blog  

Create .env file from .env.example and replace environment variables with your owns.

VariableDescriptionDefault
GOOGLE_ANALYTICS_IDYour Google Analytics UA ID (UA-XXXXX-X)
WEB_URLYour blog domainhttps://www.tfdevs.com
FORMSPREEFormspree to handle contact us submissionRead more: https://formspree.io/
INSTAGRAM_URLLink to your Instragramhttps://www.instagram.com/darachaukh/
FACEBOOK_URLLink to your Facebook page or grouphttps://www.facebook.com/teachingfordevelopment
TELEGRAM_URLLink to your Telegram channel or grouphttps://t.me/tfdTech
GITHUB_URLLink to your Github accounthttps://github.com/tfd-ed
YOUTUBE_URLLink to your YouTube channelhttps://www.youtube.com/c/TeachingForDevelopment
SITE_TITLEYour blog titleTFD Blog
EMAILYour blog email addressinfo@tfdevs.com
YOUTUBE_CHANNEL_IDYour YouTube channel id
GEETEST_ID_SIGN_UPGeetest ID for Sign Up
GEETEST_KEY_SIGN_UPGeetest Key for Sign Up
GEETEST_ID_RESETGeetest ID for Reset Password
GEETEST_KEY_RESETGeetest Key for Reset Password
$ cd tfd-blog   
$ docker-compose up -d   

Visit http://localhost

Without Docker

Make sure NodeJS version 16.4.0+ is installed in your machine.

$ yarn install  
$ yarn dev  

Visit http://localhost:3000/

Production

# generate static project  
$ yarn generate  
$ yarn start  

Managing Content

All contents are located in content/ directory where you can see the structure.