Skip to content
/ antd-rails Public template
forked from pmq20/ant-design-rails

Ant Design on Rails: pairing world's best backend framework with the best frontend framework, without wrapping everything in API!

License

Notifications You must be signed in to change notification settings

sjy/antd-rails

 
 

Repository files navigation

🚆 🛤️ Ant Design on Rails

Gem Version

Pairing world's best backend framework with the best frontend framework, without wrapping everything in API!

  • Ruby on Rails: the web-app framework that includes everything needed to create database-backed web applications.
  • Ant Design Pro: out-of-box UI solution for enterprise applications based on React.

Development

Install backend dependencies:

bundle

Install frontend dependencies:

yarn

Prepare the database (PostgreSQL by default):

bin/rails db:prepare

Start the backend development server at port 3000:

bin/rails server

Start the frontend development server at port 8000:

yarn dev

Access http://localhost:8000 and start hacking! 👨🏻‍💻👩🏻‍💻

Deployment

Upload Nginx configurations:

bundle exec cap production puma:nginx_config

Set up systemd components for the Puma web server:

bundle exec cap production puma:systemd:config

Handle both frontend and backend deployment in a single command:

bundle exec cap production deploy

Then access your production server. See https://ant-design-rails.minqi-pan.com/ for an example deployment.

Contributing

All contributions are welcome and greatly appreciated! 🙇

About

Ant Design on Rails: pairing world's best backend framework with the best frontend framework, without wrapping everything in API!

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • TypeScript 75.0%
  • Ruby 13.4%
  • JavaScript 7.2%
  • HTML 3.7%
  • Less 0.3%
  • CSS 0.3%
  • Shell 0.1%