pontus-mail
Landing page for p0ntus mail
Self hosting
Traditional Node.js
-
Clone the repo
git clone https://github.com/ihatenodejs/pontus-mail.git cd pontus-mail
-
Copy the example
docker-compose.yml
mv docker-compose.yml.example docker-compose.yml
-
Copy the example
donations.json
mv donations.json.example donations.json
-
Copy the example
.env
mv .env.example .env
Make sure you edit this with your MySQL server information and other values.
-
Install dependencies
npm install
-
Start the server
node app.js
You will now have a fully functioning Node.js Express server, which will be running on port 3000
.
With Docker
You can also use Docker to self-host pontus-mail's frontend. Make sure you have docker-compose or docker-compose-plugin installed on your system.
-
Clone the repo
git clone https://github.com/ihatenodejs/pontus-mail.git cd pontus-mail
-
Copy the example
docker-compose.yml
mv docker-compose.yml.example docker-compose.yml
-
Copy the example
.env
mv .env.example .env
Make sure you edit this file with values matching in
docker-compose.xml
, and other desired values like admin username/password. -
Copy the example
donations.json
mv donations.json.example donations.json
-
Start and build Docker containers
docker compose up -d --build
You will now have a fully functioning Node.js Express server, which will be running on the port specified in docker-compose.yml
, and internally on port 3000
.
To-Do
- Port to NextJS?
- Hovering effects for buttons
- Statistics animation