# Erc-node
**Repository Path**: sea-sky/Erc-node
## Basic Information
- **Project Name**: Erc-node
- **Description**: node.js写的Erc项目,配置项可以用来建表
- **Primary Language**: JavaScript
- **License**: Not specified
- **Default Branch**: master
- **Homepage**: None
- **GVP Project**: No
## Statistics
- **Stars**: 0
- **Forks**: 0
- **Created**: 2019-12-26
- **Last Updated**: 2021-11-02
## Categories & Tags
**Categories**: Uncategorized
**Tags**: None
## README
Installation
------------
You should have a docker environment. Then everything will be done. :)
got docker from https://www.docker.com
# install oracle-client
# tar -xzvf instantclient_12_2.tar.gz
# mv instantclient_12_2 to ~
# add blew to .bash_profile
# export OCI_HOME=/Users/huliqun/instantclient_12_2
# export OCI_LIB_DIR=$OCI_HOME
# export OCI_INC_DIR=$OCI_HOME/sdk/include
# export OCI_VERSION=11
# export NLS_LANG=AMERICAN_AMERICA.UTF8
# export DYLD_LIBRARY_PATH=$OCI_LIB_DIR
Usage
-----
1.1st time init the project
bash init.sh
#mysql port 33306
#redis port 6379
2. When you reboot your computer. boot the database with docker
bash boot.sh
3. Start the server.
brew install wkhtmltopdf
brew install imagemagick
brew install graphicsmagick
npm run start
Start the web.
npm run dev
#for webstorm
#please add export NODE_ENV=test to .bash_profile
#run the project with local node
-----
http://localhost you will have the web home.