The website of the neptun-tool. View status here.
Built with Nuxt 3, Nitro, Vite and Vue 3.
pnpm install
pnpm run dev
How the keys were generated:
openssl genrsa 2048 > server.key
chmod 400 server.key
openssl req -new -x509 -nodes -sha256 -days 365 -key server.key -out server.crt
You are about to be asked to enter information that will be incorporated
into your certificate request.
What you are about to enter is what is called a Distinguished Name or a DN.
There are quite a few fields but you can leave some blank
For some fields there will be a default value,
If you enter '.', the field will be left blank.
-----
Country Name (2 letter code) [AU]:AT
State or Province Name (full name) [Some-State]:Wien
Locality Name (eg, city) []:Wien
Organization Name (eg, company) [Internet Widgits Pty Ltd]:Neptun AI
Organizational Unit Name (eg, section) []:Development
Common Name (e.g. server FQDN or YOUR name) []:localhost
Email Address []:[email protected]
- Doesn't work in
[email protected]
. - Extremely slow on
Windows11
(faster in WSL (might be better in nuxt@v4, which is currently in nightly-channel)). srcDir
causes some imports and types to break... (could improve performance on windows theoretically tho).- SSL needed for mobile, if
--https
is set. (elseERR_SSL_PROTOCOL_ERROR
). - Oauth doesn't work using https in development mode. (causes
ERR_EMPTY_RESPONSE
).
docker build -t neptun -f ./configurations/development/Dockerfile.dev .
docker run --rm -it -p 42124:42124 --env-file .env --name neptun neptun
or
docker compose -f ./configurations/production/docker-compose.yml -f ./configurations/development/docker-compose.yml up --build
pnpm run build
Locally preview production build:
pnpm run preview
docker build -t neptun -f ./configurations/production/Dockerfile.prod .
docker run --rm -it -p 42124:42124 --env-file .env --name neptun neptun
or
docker compose up --build