We want it to be as easy as possible to get started with Cryptitan so we have built an easy to use installer that automatically helps you setup your server and other dependencies such as database, redis, BitGo server, ethereum node, cron jobs, supervisor, nginx, php, websocket service... just to name a few.
To get started you need a VPS Server with nothing installed (i.e. no pre-installed web service) to avoid conflicts with Cryptitan's installer. You can purchase one of these VPS servers using services like AWS EC2 or Digital Ocean Droplets
You will also need to install SSH client like Putty and WinSCP to connect and upload files to your server. If you are new to connecting and uploading to VPS servers using SSH client, refer to SSH Access section.
OS: Linux (Ubuntu 18.04 or later)
Architecture: 64bit (x86)
Create a new user account on the server, it is under this account, Cryptitan needs to be installed. Do NOT install Cryptitan as root user! You can create a user account using the following command (where 'neoscrypts' is the username):
sudo useradd -m neoscrypts
For the rest of the installation guide, we will use neoscrypts as reference for the newly created user account.
Your domain, as specified in the environment file, as well as the www. version, must be pointed to your server's IP address. i.e both example.com and www.example.com must be pointed to your server's IP address.
You are set!
Cryptitan should now be accessible through your configured domain. (Make sure your domain is already pointed to your server's IP address)
If you get a 502 Gateway error, this could mean that the server is still compiling its assets, so you have to wait for a few minutes. It could also mean that there is a misconfiguration in your environment file.
If it is still stuck on the error page after several minutes, You have to check the logs to see the compilation error:
./cryptitan logs -f application
Take a 5 minute video of it and send it to us, over our support channel, we will be able to tell you which one of your environment value was misconfigured.