Giter Club home page Giter Club logo

courses's Introduction

GraphAcademy Course Content

This repository holds the course curriculum for GraphAcademy.

Starting the Server

This repository uses docker-compose to create a local server using the latest production build of the GraphAcademy website (repo here). The docker image is stored on AWS ECR, so you will need credentials - talk to Adam.

  1. Install the AWS CLI

  2. Add your credentials to the ~/.aws/credentials file.

    aws_access_key_id = XXX
    aws_secret_access_key = XXX
    1. If you already have credentials in this file, you can add a new profile by adding a header above credentials. For example [ga].

      [ga]
      aws_access_key_id = XXX
      aws_secret_access_key = XXX+8Yk4bLQQCKOdBME1i7e
  3. Log in to docker using the credentials above:

    aws ecr get-login-password --region us-east-1 | docker login -u AWS --password-stdin 715633473519.dkr.ecr.us-east-1.amazonaws.com
  4. Run docker-compose up to start a new Neo4j instance and the GraphAcademy server.

File Structure

All content lives in the asciidoc/ directory. As you modify the content, a process will sync the content

  • categories/ - Category information

  • courses/ - All courses are organised into the own folder structure with modules and lessons

  • emails/ - The emails sent to users on enrolment, completion and a reminder email when the user has been inactive for 7 days

  • languages/ - i18n phrases for courses in languages other than English.

  • pages/ - "CMS" content displayed throughout the website, for example the /certifications/ oage

  • shared/ - Content shared across courses

  • statuses/ - Meta data around course statuses

Course Structure

  • Coming soon

Multi-language Support

  • Coming soon

Contributing

To create a new course or modify an existing course, please create a new branch and make your changes. Once you have finished, create a new PR and add adam-cowley as a reviewer.

git checkout -b new-course
mkdir asciidoc/courses/new-course/
echo "= New Course\n:status: draft" > asciidoc/courses/new-course/course.adoc
git add asciidoc/courses/new-course/
git commit -m "Added new course"
git push --set-upstream origin new-course

Before creating the PR, please rebase your branch on the main branch.

git fetch origin main
git rebase main

Deploying Changes

When a new application server is created, the latest tagged version of this repository is downloaded by the server.

You can use the npm version command to create a new tag.

npm version patch
git push --tags origin main
  • npm version patch - To be used when minor fixes are made to an existing course

  • npm version minor - To be used when a new course is released

  • npm version major - To be used when a major change is made to the repository - for example, multiple course changes, or addition of a new category

If you have correct privileges, you can restart the cluster by running the following command:

kubectl rollout restart deployment/graphacademy -n graphacademy-prod

courses's People

Contributors

adam-cowley avatar elainerosenberg avatar zach-blumenfeld avatar hyugma avatar jexp avatar shinyzhu avatar fbiville avatar spgandhi avatar jmhreif avatar camelia-c 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.