:depth: 4
We introduce how to install optinist. We have developed optinist python(backend) and typescript(frontend), so you need to make both environment. Please follow instructions below.
- Install Docker
Pull the latest docker image from docker hub.
docker pull oistncu/optinist
Start docker container.
docker run -it --shm-size=2G \
-v /your/saving/dir:/app/studio_data \ # Please set your saving directory
--env OPTINIST_DIR="/app/studio_data" \
--name optinist_container -d -p 8000:8000 --restart=unless-stopped \
oistncu/optinist:latest \
poetry run python main.py --host 0.0.0.0 --port 8000
.. note::
Please set ``/your/saving/dir`` to your local directory.
Without this, OptiNiSt's data will lost when you stop docker container or reboot your PC.
By the command above (``-v`` option), you can mount your local directory to docker container.
- Launch browser, and go to http://localhost:8000
It opens correctly!
Done!