Giter VIP home page Giter VIP logo

Comments (7)

phiilu avatar phiilu commented on August 19, 2024 1

I can see in your script that you want deploy mailman on the /mailman location.

Have you seen the instructions in the Readme what you need to do?

These steps need to be done BEFORE you build Mailman!

  1. open mailman/client/package.json and change "homepage": "http://localhost:4000/" to "homepage": "http://localhost:4000/mailman"

  2. open mailman/client/.env.production and change REACT_APP_BASENAME=/ to REACT_APP_BASENAME=/mailman

  3. open mailman/.env and change MAILMAN_BASENAME=/ to MAILMAN_BASENAME=/mailman

  4. build Mailman npm install && cd client && npm install && cd - && npm run build

  5. kill pm2 if it is already running with pm2 kill

  6. start Mailman again: npm start

Now you should be able to access Mailman on your webserver on /mailman.

You need to adopt your script and I hope this solves the white page error.

from mailman.

 avatar commented on August 19, 2024

Why don't you use the docker image?

  1. Add the official docker apt repository
    sudo add-apt-repository "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") $(lsb_release -cs) stable"

  2. Install Docker
    sudo apt-get update && apt-get install docker-ce

  3. Pull the latest mailman docker image
    docker pull phiilu/mailman:latest

  4. Download and edit the latest sample.env
    https://github.com/phiilu/mailman/blob/master/sample.env

  5. Start the container
    docker run -d -p 4000:4000 --net="host" --env-file /path/to/env/sample.env --restart=always --name mailman phiilu/mailman

from mailman.

shoujii avatar shoujii commented on August 19, 2024

Docker is not an option.
I'm trying to include it into a script / deploy or manually and it doesn't work as intended or I'm doing smth wrong.
The described fix in #10 doesn't work too.

from mailman.

phiilu avatar phiilu commented on August 19, 2024

I will try to deploy Mailman using your script and report back if I found a solution :)

from mailman.

shoujii avatar shoujii commented on August 19, 2024

Thanks this fixed it :)
Now it's running on /mailman.

The login isn't working, but I guess that's a bug in my script (using the Leister Email Setup) and the DB password :)

from mailman.

phiilu avatar phiilu commented on August 19, 2024

Awesome! Maybe you have the same problem as #15

from mailman.

shoujii avatar shoujii commented on August 19, 2024

It was another problem and it's solved, I made mistakes on my side :O
I mentioned your Repo in our Beta Release News, thanks for your work!

from mailman.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.