e621ng /e621ng

★ 601⑂ 111👁 15⑃ 2,332● 506▤ 98
RubyNOASSERTIONCreated 2019-02-06e621.net
下载:26.11.18e621ng-26.11.18 ↓26.11.182026-11-18
+0
日增长
+6
周增长
601
stars
111
forks
15
watchers
2,332
prs
506
issues
98
releases

README

E621
    
      
    
    
      
    
    
      
    
    
      
    
  




 Installation (Easy mode - For development environments)

 Prerequisites

  Latest version of Docker (download).
  Latest version of Docker Compose (download)
  Git (download)
 
 If you are on Windows Docker Compose is already included, you do not need to install it yourself.
 If you are on Linux/MacOS you can probably use your package manager.

 Installation

1. Download and install the prerequisites.
1. Clone the repo with git clone https://github.com/e621ng/e621ng.git.
1. cd into the repo.
1. Copy the sample environment file with cp .env.sample .env.
1. WSL Only: Run the following commands:
    
    git config core.fileMode false
    cp -ru hooks/ .git
    
    This will resolve permission issues, and set up a hook that will reset file permissions to what they are supposed to be in the future.  
    If you are not using WSL, this is likely not a problem for you.
1. Run the following commands:
    
    docker compose run --rm e621 /app/bin/setup
    docker compose up
    
    After running the commands once only docker compose up is needed to bring up the containers.
1. To confirm the installation worked, open the web browser of your choice and enter http://localhost:3000 into the address bar and see if the website loads correctly. An admin account has been created automatically, the username and password are admin and hexerade respectively.
1. By default, the site will lack any content. For testing purposes, you can generate some using the following command:
    
    docker exec -it e621ng-e621-1 /app/bin/populate
    
    The command can be run multiple times to generate more content.  
    \
    For realistic data, download the site's database exports into db/exports/ and import from them:
    
    docker exec -it e621ng-e621-1 /app/bin/populate exports:load tags wiki artists burs
    docker exec -it e621ng-e621-1 /app/bin/populate posts COUNT=10000
    
    db/populate/README.md lists every task and option, including how to get real images instead of placeholders.

Note: When gems or js packages are updated you need to execute docker compose build to reflect them in the container.

 Local DText gem

You may want to test changes made to the DText gem on a local instance.
You are recommended to reconsider and rethink your life choices.

If you are sure that you want to do this, follow these steps.

1. Clone the repo into a vendor directory. Example: ~/e621ng/vendor/dtext/.
   1. cd ~/e621ng
   2. mkdir vendor && cd vendor
   3. git clone https://github.com/e621ng/dtext.git (substitute your local fork as needed)
2. Rebuild the container
   1. cd ~/e621ng
   2. docker compose build --no-cache
3. Reset the Gemfile.lock: git checkout HEAD -- Gemfile.lock  
  This is not required, but it will prevent you from accidentally committing bad changes.
4. Set LOCAL_DTEXT=true in the .env file.

At this point, the DText repository is set up.
It will be automatically compiled w

Top issues

Latest release

26.11.18 26.11.18 2026-11-18
Changed
 [Ads] Inject the Revive loader only after the window load event. 2750
 [API] Make the new posts API format the default. 2759
 [Artists] Unify artist pages under /a/. 2782
 [Bans] Strip privilege flags on ban and protect BD staff. 2797
 [Config] Add Mailgun API post setting. 2787 [ @DRLaDRLa ]
 [DText] Clean up and modernize the formatter UI. 2767
 [Mascots] Hide the "swap mascot" button if only one mascot is available. 2739
 [Media] Drop the partial first line from truncated command output. 2784
 [OAuth] Nonce the OIDC form_post auto-submit script. 2761
 [Posts] Show "subscr

Snapshot: 2026-11-27T22:26:53Z · Data license Apache-2.0 · JSON