GithubHelp home page GithubHelp logo

iceofsummer / riding-tracer Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 331 KB

毕设-骑行路线记录和轨迹生成系统的设计与实现。基于全栈框架Remix实现

JavaScript 3.07% TypeScript 91.76% SCSS 4.60% CSS 0.56%

riding-tracer's Introduction

Ride-Tracer

注意事项

部分浏览器无法正常获取定位

目前已发现 Edge 浏览器在 红米手机 上无法获取定位,使用默认浏览器可以正常使用。

需要使用 https 才能获取精准定位

除了 localhost(127.0.0.1) 外,其它域名访问时都必须使用 https 访问,否则无法获取定位。

生产部署

Remix build-and-run

由于本人实在太菜,没找到优雅的打包部署方式,使用的是非常笨比的部署方式。

首先把项目克隆到服务器。

之后将 docker-compose(/deploy/app-prod/docker-compose.yaml) 上传到服务器中。

提供环境变量env-template.properties.

之后手动生成数据库文件:

npx prisma db generate
# 可选
npx prisma db seed

修改完成后保存,使用如下指令启动:

docker-compose up -d

riding-tracer's People

Contributors

iceofsummer avatar

Stargazers

Mushr avatar

Watchers

 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.