Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

redgreat/erfwong

Repository files navigation

erfwong

restful api书写示例,erf 框架(依赖elli).

修改配置文件

数据库连接设置 :config目录下 测试-db.config 正式-db.sample.config
API_KEY设置: config目录下 测试-sys.config 正式-prod_sys.config 修改 api_key
服务端口: config目录下 测试-sys.config 正式-prod_sys.config 修改 api_port

运行

rebar3 compile
rebar3 shell

发布

rebr3 as prod tar
rebar3 as prod release
./_build/prod/rel/erfwong/bin/erfwong foreground

docker

docker run -itd --name erfwong -p 8080:8080 redgreat/erfwong

About

erl-restfulapi-test

Resources

License

Stars

Watchers

Forks

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /