https://github.com/dotangad/intrasudo
Long running internal cryptic hunt.
https://github.com/dotangad/intrasudo
Last synced: 10 months ago
JSON representation
Long running internal cryptic hunt.
- Host: GitHub
- URL: https://github.com/dotangad/intrasudo
- Owner: dotangad
- Created: 2020-03-25T17:41:35.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2021-07-06T15:33:41.000Z (about 5 years ago)
- Last Synced: 2025-04-09T03:11:22.939Z (over 1 year ago)
- Language: JavaScript
- Size: 379 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Intrasudo platform
Moved to https://github.com/exunclan/intrasudo
## Setup - Normal
1. Install `node`, `npm`, `mysql`, `redis`.
2. Start `mysql` and `redis`.
3. Clone this repo -
```
git clone https://github.com/dotangad/intrasudo
```
3. Install dependencies -
```
cd intrasudo && npm i
```
4. While that's running go to the GCP console and get your OAuth Client ID and secret.
5. Create a MySQL database.
6. Copy and fill out the config files.
```
cp .env.example .env
cp config/config.example.json config/config.json
```
7. Run migrations and seeders
```
npm run db:migrate
npm run db:seed
```
8. Start the app!
```
npm run serve:dev
```
## Setup - Docker
1. Clone this repo
```
git clone https://github.com/dotangad/intrasudo
```
2. Go to the GCP console and get your OAuth Client ID and secret.
3. Copy and fill out the config files.
```
cp .env.example .env
cp config/config.docker.example.json config/config.json
```
4. Start Docker Containers
```
docker-compose up
```
5. Run migrations and seeders
```
docker ps # will return list of containers
docker-compose exec app_container_id node run db:migrate
docker-compose exec app_container_id node run seed
```
> Run this only during the first time
## TODO
- [ ] Unique Username (didn't work - 2021)
- [ ] Disqualify in Bot `!dq`
1. Allow in all servers
2. Allow only by admins
- [ ] Change Finished page from `v1.0` to `v3.0`
- [x] Dockerize
- [ ] IP logging and banning
- [ ] Make navbar responsive
- [ ] Test account photo change
- [ ] Time restriction
- [ ] Timer on instructions page