Testing your instance locally

Perhaps you would like to test your instance on your computer using the same way as it is on our cloud.

Setup

You need two things to test it on your local:

Testing on your local

Once you have a properly setup system, you can launch your site with:

docker-compose up -d

If you do not have yet a Dockerfile and docker-compose.yml, run the following command before:

openode template

Your docker-compose.yml should contain a volume such as:

volumes:
      - .:/opt/app/

When your instance is up, your instance will be accessible via: http://localhost:80/. If it's working well, it should work also on opeNode. You can also view the logs via:

docker-compose logs