2025-02-18 04:45:09 +00:00
# This repo has been moved to [LibreCloud](https://git.pontusmail.org/librecloud)
## pontus-mail
2025-01-23 16:26:04 -05:00
[](https://github.com/ihatenodejs/pontus-mail)
2024-12-09 21:10:46 -05:00
[](http://creativecommons.org/publicdomain/zero/1.0/)
2024-12-03 00:58:36 -05:00
Landing page for p0ntus mail
2025-01-23 16:26:04 -05:00
## Self hosting
### Using Express
2024-12-03 01:24:35 -05:00
1. Clone the repo
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
git clone https://github.com/ihatenodejs/pontus-mail.git
cd pontus-mail
```
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
2. Copy the example `docker-compose.yml`
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
mv docker-compose.yml.example docker-compose.yml
```
2025-01-23 16:26:04 -05:00
2024-12-04 20:34:11 -05:00
3. Copy the example `donations.json`
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
2024-12-04 20:34:11 -05:00
mv donations.json.example donations.json
2024-12-03 01:24:35 -05:00
```
2025-01-23 16:26:04 -05:00
2024-12-14 12:35:18 -05:00
4. Copy the example `.env`
2025-01-23 16:26:04 -05:00
2024-12-14 12:35:18 -05:00
```bash
mv .env.example .env
```
2025-01-23 16:26:04 -05:00
Make sure you edit this with the desired internal port. We suggest keeping the internal port set to `3000` .
2024-12-14 12:35:18 -05:00
5. Install dependencies
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
2024-12-04 20:34:11 -05:00
npm install
```
2025-01-23 16:26:04 -05:00
2024-12-14 12:35:18 -05:00
6. Start the server
2025-01-23 16:26:04 -05:00
2024-12-04 20:34:11 -05:00
```bash
node app.js
2024-12-03 01:24:35 -05:00
```
2024-12-04 20:34:11 -05:00
You will now have a fully functioning Node.js Express server, which will be running on port `3000` .
2025-01-23 16:26:04 -05:00
### Using Docker
2024-12-03 01:24:35 -05:00
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.
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
1. Clone the repo
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
git clone https://github.com/ihatenodejs/pontus-mail.git
cd pontus-mail
```
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
2. Copy the example `docker-compose.yml`
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
mv docker-compose.yml.example docker-compose.yml
```
2025-01-23 16:26:04 -05:00
2024-12-14 12:35:18 -05:00
3. Copy the example `.env`
2025-01-23 16:26:04 -05:00
2024-12-14 12:35:18 -05:00
```bash
mv .env.example .env
```
2025-01-23 16:26:04 -05:00
This configuration's defaults have been set to be compatible with Docker. Please do not change this file unless you know what you're doing!
2024-12-27 03:55:24 -06:00
4. Copy the example `donations.json`
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
2024-12-04 20:34:11 -05:00
mv donations.json.example donations.json
2024-12-03 01:24:35 -05:00
```
2025-01-23 16:26:04 -05:00
2024-12-27 03:55:24 -06:00
5. Start and build Docker containers
2025-01-23 16:26:04 -05:00
2024-12-03 01:24:35 -05:00
```bash
2024-12-04 20:34:11 -05:00
docker compose up -d --build
2024-12-03 01:24:35 -05:00
```
2024-12-09 21:10:46 -05:00
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` .
2024-12-27 03:37:32 -06:00
2025-01-23 16:26:04 -05:00
## To-Do
2024-12-27 03:37:32 -06:00
- [ ] Port to NextJS?
2024-12-27 03:55:24 -06:00
- [ ] Hovering effects for buttons
2025-01-23 16:26:04 -05:00
- [ ] Reintegrate backend logic for counters on home page
2025-01-06 19:47:19 -05:00
- [ ] Statistics animation