Git Product home page Git Product logo

Comments (10)

thatandromeda avatar thatandromeda commented on June 30, 2024

FYI after the merge, push to production, and URL redirect there are a few more things that I will need to do:

  • populate the Events database
  • incorporate analytics
  • hibernate old gluejar.com site

from regluit.

rdhyee avatar rdhyee commented on June 30, 2024

I don't know all the details involved in hosting gluejar.com on production using the same instance either. You asking me to start to figure them out?

from regluit.

rdhyee avatar rdhyee commented on June 30, 2024

What I see so far. I've been looking at master...gluejar_dot_com and gluejar_dot_com...master and http://www.fir3net.com/Django/how-to-serve-multiple-domains-from-within-a-single-django-project.html

  1. Can you merge master into gluejar_dot_com to make it easier to see what's being changed? (gluejar_dot_com...master is not empty right now)

  2. Are you trying to emulate the directory structure in http://www.fir3net.com/Django/how-to-serve-multiple-domains-from-within-a-single-django-project.html -- one thing is that domain1 and domain2 are siblings whereas gluejar_dot_com (our domain2) is a child of unglue.it (our domain 1) in terms of file structure.

from regluit.

eshellman avatar eshellman commented on June 30, 2024

maybe it's easier to just spin up a tiny-tiny instance and run a separate project

from regluit.

rdhyee avatar rdhyee commented on June 30, 2024

I tend to agree that it's better to run some tiny, tiny instance just for gluejar.com.

from regluit.

thatandromeda avatar thatandromeda commented on June 30, 2024

Hate to throw the hosting part of the puzzle at you but I don't know enough about AWS or Apache to even know where to begin...

As for separate instances -- right now there are some parts of gluejar_dot_com that are linked to regluit (contact form reuses feedback form handling, uses user logins to populate email field in contact form, uses the admin interface so that our existing is_staff accounts can manage the site). Would putting it on a separate instance require these to be separated out all the way? That seems not DRY but otherwise fine for feedback handling, not important for email address prefilling, and kind of annoying for the staff accounts as we'd have to set up extra accounts just for this site.

File structure: does the current git repo give me any choice in the matter?

merge from master: duh, yes, good point, thank you. Running tests now.

from regluit.

eshellman avatar eshellman commented on June 30, 2024

Remember that logins are tied to cookies and those won't carry over to a different domain.

from regluit.

thatandromeda avatar thatandromeda commented on June 30, 2024

If logins won't carry over I guess there's no longer any good reason for gluejar_dot_com and regluit to be tied together at all. Shall I make gluejar_dot_com an entirely separate repo? What's easiest for deployment?

from regluit.

rdhyee avatar rdhyee commented on June 30, 2024

In this case, we should make gluejar_dot_com a separate repo and write gluejar.com as a standalone django project.

from regluit.

thatandromeda avatar thatandromeda commented on June 30, 2024

Coolio, will do.

from regluit.

Related Issues (1)

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.