Git Product home page Git Product logo

demo-rails-app's Introduction

Sample application with Phrase integration

Simple todo app to show how to use with Phrase In-Context-Editor.

Installation

Follow these easy steps to install and start the app:

Set up Rails app

First, install the gems required by the application:

bundle

Next, execute the database migrations/schema setup:

bundle exec rake db:setup

Initialize Phrase

Use the Rails generator to add a phraseapp_in_context_editor.rb initializer:

bundle exec rails generate phraseapp_in_context_editor:install --access-token=<YOUR_ACCESS_TOKEN> --project-id=<YOUR_PROJECT_ID>

If you don't have a Phrase account yet, you can use the demo account credentials to get started:

Start the app

Start the Rails app to see the In-Context-Editor added to the To-Do application. You're ready to localize your app:

bundle exec rails server

You can find your app now by pointing your browser to http://localhost:3000. If everything worked you can log into In-Context Editor with your Phrase user account or the demo login credentials:

User: [email protected]
Password: phrase

So, what next?

In-Context-Editor is a great way to start translating your application. All translations you enter will be stored directly in Translation Center, the backend software for all Phrase projects. Log in with your demo credentials to see all possibilities for your new translation management: Translation Center

Want to know more? Check our documentation!

More information

demo-rails-app's People

Contributors

docstun avatar sacry-dyn avatar dependabot[bot] avatar thesoenke avatar kirchner avatar laszlorozsas avatar sbruhns avatar timleers avatar

Watchers

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