mirror of
https://github.com/mgerb/classic-wow-forums
synced 2026-01-09 16:42:49 +00:00
dependabot/npm_and_yarn/client/node-sass-7.0.0
Bumps [node-sass](https://github.com/sass/node-sass) from 4.9.0 to 7.0.0. - [Release notes](https://github.com/sass/node-sass/releases) - [Changelog](https://github.com/sass/node-sass/blob/master/CHANGELOG.md) - [Commits](https://github.com/sass/node-sass/compare/v4.9.0...v7.0.0) --- updated-dependencies: - dependency-name: node-sass dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
Classic WoW Forums
World of Warcraft forums as they were in 2005.
I started working on this project to learn Elixir/Phoenix. The goal was to make a forum that replicates the World of Warcraft forums as they were back in 2005. Currently the forums are fully functional and can be seen at https://classicwowforums.com.
Made with:
- Elixir/Phoenix
- React/Mobx
- Postgres
Config files
- all config files are in the config folder
- remove the .template from them
- create a new app in the battle.net api and add your keys
Start the server
- Install dependencies with
mix deps.get - Create and migrate your database with
mix ecto.setup - Start server with
mix phx.server
Build the client
cd clientnpm installnpm run dev
Ecto
Create new database table
mix ecto.gen.migration create_usermix ecto.migrate
Production
MIX_ENV=prod mix ecto.createMIX_ENV=prod mix ecto.migratePORT=80 MIX_ENV=prod mix run priv/repo/seeds.exsPORT=80 MIX_ENV=prod mix phx.server
Postgres in docker container
docker run --name postgres1 -p 5432:5432 -e POSTGRES_PASSWORD=postgres -d postgres
Battlenet API
Battlenet required https for a redirect for authentication. I use caddy for https proxy during development.
Caddyfile
https://localhost {
tls self_signed
proxy / http://localhost:8080 {
transparent
websocket
}
}
Description
Languages
Elixir
48%
TypeScript
42.2%
CSS
7.5%
JavaScript
1.3%
HTML
0.3%
Other
0.7%