在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):parrot-translate/parrot开源软件地址(OpenSource Url):https://github.com/parrot-translate/parrot开源编程语言(OpenSource Language):TypeScript 42.2%开源软件介绍(OpenSource Introduction):ParrotSelf-hosted Localization Management Platform built with Go and Angular 2. Documentation
Features
Building from source and try it outStart out by cloning this repo into your GOPATH: $ mkdir -p $GOPATH/src/github.com/parrot-translate/parrot
$ cd $GOPATH/src/github.com/parrot-translate/parrot
$ git clone https://github.com/parrot-translate/parrot.git . Make sure you have Postgres running, by default Parrot's API server will look for it on To start a pre-configured Postgres instance on docker, simply run: $ dev-tools/start-postgres.sh Now apply the database migrations. Using Alembic it's really simple: $ cd migrations
$ alembic upgrade head Once again, if you wish to configure the DB parameters, you need to override the default values. For Alembic you just need to go to the Finally you can build Parrot from source: # From the root dir 'parrot'
$ ./build/build-all.sh Now we simply need start the API and serve the web app files. $ dist/parrot_api Navigate to http://localhost:9990/api/v1/ping and you should be able to see if the API is up. And on a separate terminal session, let's start a convinient Python HTTP server to serve the static web app files locally: $ dev-tools/serve-web-app.sh And to view the web app simply navigate to http://localhost:8080, it should open the login page of the web app. ConfigurationAPIAt the moment, configuring the API app is only possible via environment variables. Here's the available options with their default values:
Web AppYou can also configure the Web App's backend endpoint by editing the file
LicenseThis project is licensed under the MIT license. IssuesThe recommended medium to report and track issues is by opening one on Github. ContributingWant to hack on the project? Any kind of contribution is welcome! Simply follow the next steps:
In case you want to add a feature, please create a new issue and briefly explain what the feature would consist of. For bugs or requests, before creating an issue please check if one has already been created for it. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论