当地发展
使用npm安装Ionic CLI:
$ npm install -g @ionic/cli
克隆存储库:
$ git clone https://github.com/laws-africa/constitution-app-react.git
$ cd constitution-app-react
用yarn安装依赖项:
$ yarn
服务应用
$ ionic serve
这应该在上打开浏览器窗口!
更新内容(后端)
依赖关系:Python(3.8)
如果需要,创建一个Python虚拟环境并安装要求
$ cd backend
$ pip install -r requirements.txt
运行脚本:
$ python main.py
生产部署
该应用程序由GitHub页面托管。 它是通过上的GitHub操作脚本从master分支自动。
要模拟此过程,请使用: