R
Railwayβ€’13mo ago
Baldbytes

Need to serve dist/ to railway.app

Is there a specific command to this? At this moment my railwayapp just starts the astro dev command from the package.json.
17 Replies
Percy
Percyβ€’13mo ago
Project ID: 58c0c453-358e-48b4-ac76-6f203436218e
Baldbytes
BaldbytesOPβ€’13mo ago
58c0c453-358e-48b4-ac76-6f203436218e This is my config file:
// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
],
site: 'https://www.tecdip.com',
base: "/",
output: 'hybrid',
adapter: node({
mode: 'standalone',
}),
server: {
host: '0.0.0.0'
},
});
// https://astro.build/config
export default defineConfig({
integrations: [
tailwind(),
],
site: 'https://www.tecdip.com',
base: "/",
output: 'hybrid',
adapter: node({
mode: 'standalone',
}),
server: {
host: '0.0.0.0'
},
});
Brody
Brodyβ€’13mo ago
does this build a csr astro app?
Baldbytes
BaldbytesOPβ€’13mo ago
what exactly means csr?
Brody
Brodyβ€’13mo ago
client side rendered
Baldbytes
BaldbytesOPβ€’13mo ago
not exactly sure, just want to use static pages rn so maybe the output isnt right
Brody
Brodyβ€’13mo ago
whats your current start command
Baldbytes
BaldbytesOPβ€’13mo ago
This is my current folder structure
No description
Baldbytes
BaldbytesOPβ€’13mo ago
i dont have set a specific one, it just runs the astro build command and then use astro dev after the build i dont use docker, i just use nixpack tried to use your railway template as a "guide" if i use the astro preview command everything works perfectly fine
Solution
Baldbytes
BaldbytesOPβ€’13mo ago
does this also work with static output or is it designed to used with hybrid?
Baldbytes
BaldbytesOPβ€’13mo ago
https://www.tecdip.com/ still application error
tecdip | Shopify Apps
tecdip brings a breath of fresh air to your Shopify store! With our individually programmed solutions, we help you sell more and catapult your business to the next level.
Baldbytes
BaldbytesOPβ€’13mo ago
oh nvm its there yet πŸ˜„
Brody
Brodyβ€’13mo ago
awsome
Baldbytes
BaldbytesOPβ€’13mo ago
thanks for the quick help
Brody
Brodyβ€’13mo ago
no problem πŸ™‚
Want results from more Discord servers?
Add your server