Skip to content

zhyzhy782/SuperRocket.SPSync

 
 

Repository files navigation

SuperRocket.SharePointSync allows you to sync files from Sharepoint to AWS. This project is based on abp and SuperRocket.Orchard, which is really owesome another template for web development, containing web and web api etc. Its Architecture is as below picture:

Its Sequencial flow is as below picture:

How to run it?

  1. You should have visual studio 2015 update 3 or visual studio 2017 installed.

  2. Download the source code or clone to your local computer using https://github.com/AccentureRapid/SuperRocket.SPSync.git

  3. Open the solution in visual studio.

  1. Setup your database and change the connection string in web.config, this will be used as the data store for users, tenants, and the Hangfire jobs.

  1. Open Package Manager Console, make sure "SuperRocket.Orchard.EntityFramework" is selected as the default project in Manager Console. In solution explorer, make sure "SuperRocket.Orchard.Web" is setup as the start project. Then run below command "update-database -verbose" to do migrations for entity framework.

  1. Setup sharepoint configuration file in App_Data folder.

  1. If you want to Sync your sharepoint document library to AWS S3. You should enable the aws in web.config part. As below picture:

  1. Setup your IIS to point to your site. Open it in browser: http://localhost:8083/ ,the default User is admin, Password is 123qwe. You should see below

  1. Open it in browser : http://localhost:8083/hangfire You should see below

  1. User Postman to enqueue an Sync job. URL :http://localhost:8083/api/services/app/sharePointSyncService/EnqueueSharepointSyncJob That is it! You can track all the jobs on Hangfire dashboard.

Links

You may find document or develop guide information at:

Contact Me

Contributors

About

SuperRocket.SPSync allows you to sync files from Sharepoint to AWS.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 64.6%
  • C# 27.6%
  • CSS 7.7%
  • Other 0.1%