Merge pull request #30 from Facinorous-420/v1.1.1
> **Warning** > V1.x.x will no longer have any more updates besides hot fixes beyond this point. All work will be focused on the v2.0.0 React rewrite! ## Update Info 🍆 **DICK** v1.1.1 🍆 🔀 **UPDATING** Updating your instance should be easy, unless you already edited the code base, at that point your on your own. If you have a direct clone of the old master of v1.1.0 release, then all you need to do is 1. Browse to your DICK folder 2. Run `git pull` to pull new changes 3. Run `npm i` to install new dependencies, if any 4. Delete the `dist` folder 5. Start DICK using `npm start` (or use the docker compose run command) 6. Enjoy ✏️ **CHANGELOG** ```diff ADDITIONS + Docker > Added Dockerfile and docker-compose so people can run DICK using Docker now REMOVALS - Removed user count from user list in admin page > Unneeded information - Removed hover effect when hovering over stat cards on user and admin pages > Unneeded as they do nothing (such as link somewhere) ``` ```fix CHANGES = Codebase cleanup = Optimized some images = Cleaned up start up message in console ``` ## Issues Resolved / Fixes In This Release Nonemaster v1.1.1
@ -0,0 +1,24 @@
|
|||||||
|
FROM archlinux:latest
|
||||||
|
|
||||||
|
# Update the repositories
|
||||||
|
RUN pacman -Sy
|
||||||
|
|
||||||
|
# Install nodejs
|
||||||
|
RUN pacman -S --noconfirm git nodejs npm
|
||||||
|
|
||||||
|
# Generate directories and set up project
|
||||||
|
RUN mkdir /app && mkdir /app/dick && mkdir /app/ass
|
||||||
|
COPY . /app/dick
|
||||||
|
RUN cd /app/dick
|
||||||
|
|
||||||
|
#RUN nvm install node
|
||||||
|
RUN npm install -g npm@latest
|
||||||
|
RUN npm --version
|
||||||
|
RUN node --version
|
||||||
|
|
||||||
|
WORKDIR /app/dick
|
||||||
|
|
||||||
|
RUN npm i
|
||||||
|
|
||||||
|
# Expose port
|
||||||
|
EXPOSE 3000
|
Before Width: | Height: | Size: 145 KiB After Width: | Height: | Size: 111 KiB |
Before Width: | Height: | Size: 16 KiB After Width: | Height: | Size: 9.9 KiB |
@ -0,0 +1,14 @@
|
|||||||
|
version: "2.1"
|
||||||
|
services:
|
||||||
|
dick:
|
||||||
|
container_name: dick
|
||||||
|
build:
|
||||||
|
context: ./
|
||||||
|
dockerfile: Dockerfile
|
||||||
|
command: npm start
|
||||||
|
volumes:
|
||||||
|
- ./src/constants.ts:/app/dick/src/constants.ts # DICK constants file
|
||||||
|
- ../ass:/app/ass # Path to your ASS install
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
restart: unless-stopped
|
Before Width: | Height: | Size: 60 KiB After Width: | Height: | Size: 49 KiB |
Before Width: | Height: | Size: 70 KiB After Width: | Height: | Size: 61 KiB |