This commit is contained in:
James Long 2022-04-28 22:40:13 -04:00
parent 16de8cb91b
commit 1149730962
2 changed files with 12 additions and 4 deletions

View file

@ -7,8 +7,8 @@ RUN mkdir /app
WORKDIR /app WORKDIR /app
ENV NODE_ENV=production ENV NODE_ENV=production
RUN yarn install --production
ADD . . ADD . .
RUN yarn install --production
CMD ["yarn", "start"] CMD ["yarn", "start"]

View file

@ -1,6 +1,10 @@
This is the main project to run [Actual](XXX), a local-first personal finance tool. It comes with the latest version of Actual, and a server to persist changes and make data available across all devices. This is the main project to run [Actual](XXX), a local-first personal finance tool. It comes with the latest version of Actual, and a server to persist changes and make data available across all devices.
### Non-technical users
We are looking into a feature for one-button click click deployment of Actual. This will reduce the friction for people not as comfortable with the command line.
## Running ## Running
It's very easy to get started. Clone this repo, install deps, and start it: It's very easy to get started. Clone this repo, install deps, and start it:
@ -28,6 +32,10 @@ Whenever you want to update Actual, update the versions of `@actual-app/api` and
**Note:** if you don't want to use fly, we still provide a `Dockerfile` to build the app so it should work anywhere that can compile a docker image. **Note:** if you don't want to use fly, we still provide a `Dockerfile` to build the app so it should work anywhere that can compile a docker image.
### Non-technical users ## Configuring the server URL
We are looking into a feature for one-button click click deployment of Actual. This will reduce the friction for people not as comfortable with the command line. The Actual app is totally separate from the server. In this project, they happen to both be served by the same server, but the app doesn't know where the server lives.
The server could live on a completely different domain. You might setup Actual so that the app and server are running in completely separate places.
Since Actual doesn't know what server to use, the first thing it does is asks you for the server URL. If you are running this project, simply click "Use this domain" and it will automatically fill it in with the current domain. This works because we are serving the app and server in the same place.