Ember.js
An Ember.js starter in Javascript, comes already configured with railway
Ember.js
francis-Paul-code/ember-railway-starter
Just deployed
Ember.js Starter Project
Welcome to the Ember.js Starter Project! This repository provides a boilerplate for an Ember.js application, fully configured for deployment on Railway.
Features
- Ember.js: A productive and battle-tested JavaScript framework for building modern web applications.
- Dockerized Setup: Pre-configured Docker support for local development.
- Railway Deployment: Ready to be deployed on Railway with minimal configuration.
- Environment Configuration: Easy management of environment variables for production readiness.
Prerequisites
- Node.js: Ensure you have Node.js and npm (or yarn) installed.
- Docker: Ensure you have Docker installed on your machine for local development.
- Railway CLI: Install the Railway CLI for deploying your project to Railway.
Getting Started
1. Clone the Repository
git clone https://github.com/francis-Paul-code/ember-railway-starter
cd ember-starter
2. Install Dependencies
Use npm or yarn to install the project dependencies:
npm install
# or
yarn install
3. Build the Project
Build the Ember.js project for production:
ember build --environment production
This command will generate the dist
directory containing the production-ready static files.
4. Set Up Environment Variables
If your application relies on environment variables, create a .env
file in the root of your project or copy the existing .env.example
:
cp .env.example .env
5. Build and Run Locally with Docker
Use Docker to build and run the project locally:
docker-compose up --build
Your Ember.js application should now be running on http://localhost:4200.
6. Deploy to Railway
To deploy the project to Railway, follow these steps:
- Initialize a new Railway project:
railway init
- Deploy your project:
railway up
Railway will automatically detect your environment variables and configuration. Your application will be deployed and accessible at a generated Railway URL.
Contributing
Feel free to contribute to this project by submitting issues or pull requests. We welcome all improvements!
License
This project is licensed under the MIT License.
Template Content