Skip to content
This repository was archived by the owner on Jan 27, 2025. It is now read-only.

tim661811/onedrive-to-github-documentation-uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

onedrive-to-github-documentation-uploader

How to setup for Docker

  1. Clone Docker image from Docker hub

  2. Make shure to change the following enviroment variables to reflect your settings
    GITHUB_USERNAME=input_your_username_here
    GITHUB_PASSWORD=input_your_password_here
    REPO_NAME=input_repo_name
    REPO_LINK=github.com/input_username_of_git_repo/input_repo_name.git

  3. Map your onedrive directory containing all you documents to /mnt/hgfs/Onedrive/doc. This will make shure the docker container is able to see the documents.

This will result in a command like this:
docker run -d --name container_name -e GITHUB_USERNAME='input_your_username_here' -e GITHUB_PASSWORD='input_your_password_here' -e REPO_NAME='input_repo_name' -e REPO_LINK='github.com/input_username_of_git_repo/input_repo_name.git' -v '/path/to/documents/on/host:/mnt/hgfs/Onedrive/doc:ro tim661811/onedrive-to-github-documentation-uploader
Once executed it will create the container with the specified settings.

NOTE: you may have to run the container twice on the first use

How to setup without Docker (using npm)

  1. Clone repository from Github

  2. Run npm install

  3. Add a .env file with the following content:
    GITHUB_USERNAME=input_your_username_here
    GITHUB_PASSWORD=input_your_password_here
    REPO_NAME=input_repo_name
    REPO_LINK=github.com/input_username_of_git_repo/input_repo_name.git
    Change the text after the '=' signs to reflect you settings.

  4. Change the PATH_TO_ONEDRIVE_DOCS variable to the path of the directory containing all your documentation.

You can now run the app using npm start

NOTE: you may have to run the app twice on the first use

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors