Giter Club home page Giter Club logo

Comments (13)

olasitarska avatar olasitarska commented on July 19, 2024

I think we will need an access to code.djangoproject.com here :) Anyone? @jezdez

from djangoproject.com.

jezdez avatar jezdez commented on July 19, 2024

Trac's code is hosted in a different repo (https://github.com/django/code.djangoproject.com), I just added it to the redesign team. Please also work in a branch and open a PR there so that we can track it properly. Thanks!

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

Thanks @jezdez! 💫

from djangoproject.com.

aaugustin avatar aaugustin commented on July 19, 2024

Trac is known to be hard to set up and run locally. Grabbing the HTML source and working on a static copy locally might be the best solution :-(

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

Thanks for the tip, @aaugustin :)

from djangoproject.com.

bmispelon avatar bmispelon commented on July 19, 2024

Managed to get it somewhat installed locally. Let's see if I can get something half-decent working.

from djangoproject.com.

bmispelon avatar bmispelon commented on July 19, 2024

I just pushed a first version of this (django/code.djangoproject.com@131e8d8).

To test it out:

  • clone django/code.djangoproject.com
  • cd code.djangoproject.com
  • pip install -r requirements.txt # In same virtualenv as djangoproject.com probably
  • Follow all steps of djangoproject.com/README.txt (especially creating database/user and loading trac.sql)
  • psql -U code.djangoproject -d code.djangoproject -c "INSERT INTO permission (username, action) VALUES ('anonymous', 'TRAC_ADMIN')"
  • tracd --port 9000 -s trac-env

You might also want to set secure_cookies = false in trac-env/conf/trac.ini if you want to be able to create some content (wiki or tickets). Setting base_url (in [trac]) and url (in [project]) to your localhost URL might also help for testing out things like search.

There are still quite a few things to change, most of them caused by weird interactions between our new styles and trac's ones. The old trac-env/htdocs/style.css was used before to change stuff like colors to match our palette. Depending on how much efforts we want to put into this, it might be enough to just fix a few colors and call it a day.

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

Thanks @bmispelon, I got it running now too! This is really awesome. 🎉

I'll try to work on more css changes tomorrow morning :) Thank you for help!

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

I added some more styling. Currently I am on the stage when I want to throw my computer outside the window because of this terrible trac css, so I'm going to take a break for few hours... 🙀

from djangoproject.com.

oinopion avatar oinopion commented on July 19, 2024

@olasitarska in those moments you should definitely visit: http://ladydinahs.com/

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

OMG this is amazing! 😹

from djangoproject.com.

bmispelon avatar bmispelon commented on July 19, 2024

I pushed another commit for this (2d7274f459ecaad622ed9a4c93e290a0d02ab451) and I think we're pretty much done now.

I removed all the ugly trac colors I could find (default reds and browns) and replaced them with the greens from our styleguide.

Can someone double-check and close this?

from djangoproject.com.

olasitarska avatar olasitarska commented on July 19, 2024

Amazing effort @bmispelon, trac looks as good as it possibly can! 💖

from djangoproject.com.

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.