Giter VIP home page Giter VIP logo

meituan's Introduction

Vue全家桶 + SSR(Nuxt) + Koa2全栈开发[美团网]

My luminous Nuxt.js project

Redis

1、安装Redis到C盘根目录 2、开启redis-server.exe

MongoDB

1、安装MongoDB,开启redis-server.exe 2、在data目录下新建db文件夹 3、在安装目录下的\bin文件夹中打开命令行,键入 **安装地址**\bin\mongod --dbpath **安装地址**\data\db 回车

数据库导入

在数据源中打开命令行:mongoimport -d dbs(数据库) -c test(数据结合) pois.dat(数据源) 例如:mongoimport -d meituan -c areas areas.dat

运行

Redis和MongoDB以及相应依赖安装完毕后,即可npm run dev 或 yarn run dev

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ yarn run generate

For detailed explanation on how things work, checkout Nuxt.js docs.

meituan's People

Contributors

idcunyu 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.