0
Fork 0
mirror of https://github.com/immich-app/immich.git synced 2025-02-04 01:09:14 -05:00
immich/web
Devin Buhl 2dcccb37a0
chore(docker): Default NODE_ENV to production for server image and update alpine version (#2157)
* default NODE_ENV to production for server image

* update node image to use 3.17 alpine in server

* update web docker image to use alpine 3.17

* remove NODE_ENV from production docker-compose

* NODE_ENV is also needed default in machine-learning
2023-04-03 15:05:29 -05:00
..
__mocks__ feat(web): theme/locale preferences and improve SSR (#1832) 2023-02-22 11:53:08 -06:00
src Add timezone to exif entity (#1894) 2023-04-02 14:11:24 -05:00
static feat(web): make assets cachable (#1724) 2023-02-10 16:01:35 -06:00
.dockerignore
.eslintignore
.eslintrc.cjs
.gitignore
.npmrc
.prettierignore feat(web): More localisation (#1441) 2023-01-27 23:57:25 -06:00
.prettierrc
babel.config.cjs
Dockerfile chore(docker): Default NODE_ENV to production for server image and update alpine version (#2157) 2023-04-03 15:05:29 -05:00
entrypoint.sh fix(web): remove protocol header (#2068) 2023-03-24 07:20:06 -05:00
how-to-scroll-like-google.md
jest.config.mjs feat(web): make assets cachable (#1724) 2023-02-10 16:01:35 -06:00
LICENSE feat(docker) revert ubuntu base image (#863) 2022-10-25 14:18:37 -05:00
package-lock.json fix(web): nested layout navigation issue (#1936) 2023-03-04 16:09:55 -06:00
package.json chore(web): update dependencies (#1877) 2023-02-26 13:18:26 -06:00
postcss.config.cjs
README.md
svelte.config.js
tailwind.config.cjs feat(web) dark mode (#867) 2022-10-26 11:10:48 -05:00
tsconfig.json
vite.config.js

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

If you're seeing this, you've probably already done this step. Congrats!

# create a new project in the current directory
npm init svelte

# create a new project in my-app
npm init svelte my-app

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

npm run build

You can preview the production build with npm run preview.

To deploy your app, you may need to install an adapter for your target environment.