Giter Club home page Giter Club logo

hieat-app's Introduction

Scala、ES 6实战

使用Play 2、Slick 3、React.js、Redux、Sass、Bootstrap 4、PostgreSQL、Redis开发


Install

Mac OS

brew install redis postgresql
launchctl load /usr/local/opt/postgresql/homebrew.mxcl.postgresql.plist
redis-server /usr/local/etc/redis.conf

Linux for Ubuntu

install Nginx: http://nginx.org/en/linux_packages.html#stable

install PostgreSQL: https://wiki.postgresql.org/wiki/Apt

Install Node

git clone https://github.com/creationix/nvm.git ~/.nvm && cd ~/.nvm && git checkout `git describe --abbrev=0 --tags`
. ~/.nvm/nvm.sh
nvm install stable
echo '. ~/.nvm/nvm.sh' >> ~/.bashrc
echo 'nvm use stable' >> ~/.bashrc

Setup PostgreSQL

postgres=> create user hieatuser nosuperuser replication encrypted password 'hieatpass';
postgres=> create database hieat_site owner=hieatuser template=template0 encoding='UTF-8' lc_collate='zh_CN.UTF-8' lc_ctype='zh_CN.UTF-8';

Build

git clone https://github.com/yangbajing/hieat-app.git
cd hieat-app/front-end
npm install && npm run build
cd ../
./sbt
[hieat] $ testOnly me.hieat.site.data.repo.SchemaTest
[hieat] $ ~ run

注意 [hieat] $ testOnly me.hieat.site.data.repo.SchemaTest 这一步骤不要忘记,创建数据库。

Use

访问: http://localhost:9000/sign/up 注册用户

hieat-app's People

Contributors

yangbajing avatar

Stargazers

 avatar

Watchers

James Cloos avatar  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.