GithubHelp home page GithubHelp logo

ekuaibao / open-platform-docs Goto Github PK

View Code? Open in Web Editor NEW
8.0 7.0 5.0 35.94 MB

易快报开放平台文档中心

Home Page: https://docs.ekuaibao.com/docs/open-api/getting-started

License: MIT License

JavaScript 40.97% CSS 11.51% TypeScript 9.03% Dockerfile 0.19% MDX 38.31%
docs

open-platform-docs's Introduction

合思开放平台文档中心

合思开放平台文档中心

开发

开发环境 node >= 14.0.0

npm i
npm run start

本地预览地址:http://localhost:3000/

修改代码后,如何同时推送 gitlabgithub

1.从 gitlab 克隆下来文档中心的代码

(1)克隆好后,在控制台输入 npm i 编译代码,下载插件。

(2)有可能部分从 github 仓库下载的插件会因为链接超时报错,导致编译不成功,可找已经编译成功的研发要一下 node_modules 这个文件夹,复制并替换即可省去编译这步。

(3)在控制台输入 npm run start 启动项目,项目启动成功,可打开 http://localhost:3000/ 进行预览。

2.修改 smartGit 的配置文件,新配置一个远程地址 github

image

[core]
	repositoryformatversion = 0
	filemode = false
	bare = false
	logallrefupdates = true
	symlinks = false
	ignorecase = true
[remote "origin"]
    url = [email protected]:public-open/open-platform-docs.git
	fetch = +refs/heads/*:refs/remotes/gitlab/*
[taggrouping]
	groups =
	singles =
# 新增的远程地址
[remote "github"]   
	url = [email protected]:ekuaibao/open-platform-docs.git
	fetch = +refs/heads/*:refs/remotes/origin/*
[branch "main"]
# 默认远程地址
	remote = origin
	merge = refs/heads/main

2.修改代码提交到本地后,推送2次即可,origin 1次,github 1次

image

open-platform-docs's People

Contributors

dogefeng avatar toge66 avatar yunkou avatar zgy-500 avatar zhangbohan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

open-platform-docs's Issues

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.