Git Product home page Git Product logo

course-syllabus-builder's Introduction

Course Syllabus Builder

GitHub issues GitHub stars

Course Syllabus Builder is a web-based syllabus builder. Powered by Frappe Framework

Prerequisites

  • Ubuntu 20.04
  • Curl
  • NodeJS w/ nvm
  • Frappe v13
  • Python 3.9
  • Git
  • Docker
  • MariaDB
  • Redis
  • Course Syllabus Builder App

Installation

Install Docker Container.

curl -sSL https://get.docker.com/ | sh

Install Docker Compose.

sudo curl -L "https://github.com/docker/compose/releases/download/1.27.4/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose
sudo chmod +x /usr/local/bin/docker-compose

Add current user to docker group. After adding user to group restart your device. (very important to restart your device)

sudo usermod -aG docker ${USER}

Install Frappe Docker.

git clone https://github.com/frappe/frappe_docker

cd frappe_docker

Copy example devcontainer config from devcontainer-example to .devcontainer.

cp -R devcontainer-example .devcontainer

Start Container. (just run this command if you just want to run the container, no need to run the previous commands.)

docker-compose -f .devcontainer/docker-compose.yml up -d

Enter interactive shell.

docker exec -e "TERM=xterm-256color" -w /workspace/development -it devcontainer_frappe_1 bash

Check Node if installed. (if nothing appears, install node)

nvm ls

This development uses v14.18.1 (run this command if you have node installed, if this version is not install use nvm install)

nvm use 14

Setup

Setup your first bench. Run the following commands in the terminal inside the container.

bench init --skip-redis-config-generation --frappe-branch version-13 --python python3.9 frappe-bench

cd frappe-bench

Setup hosts. (run the following commands to setup hosts.)

bench set-mariadb-host mariadb  
bench set-redis-cache-host redis-cache:6379
bench set-redis-queue-host redis-queue:6379
bench set-redis-socketio-host redis-socketio:6379

Create new-site. (replace site_name with your desired name.)

Default MySQL password: 123

bench new-site <site_name> --no-mariadb-socket

After creating a site, set bench to developer mode on the new site.

bench --site <site_name> set-config developer_mode 1
bench --site <site_name> clear-cache

Use your site.

bench use <site_name>

Install Course Syllabus Builder App.

bench get-app install master https://github.com/m0L3cuL3/Course-Syllabus-Builder

Start bench.

bench start

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

course-syllabus-builder's People

Contributors

m0l3cul3 avatar

Watchers

 avatar

Forkers

admin627863

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.