|
1 | | -# javascript.cm |
| 1 | +# JavaScript.cm (built with AdonisJS, inspired by laravel.cm) |
| 2 | + |
| 3 | +This repository contains the source code for the javascript.cm website ( javascript community in Cameroon ), inspired by laravel.cm. Laravel Cameroon is the largest community of PHP & Laravel developers residing in Cameroon. |
| 4 | + |
| 5 | +## Server Requirements |
| 6 | + |
| 7 | +The following dependencies are required to start the installation: |
| 8 | + |
| 9 | +- Node.js >= 22.0.0 |
| 10 | +- npm or yarn |
| 11 | +- PostgreSQL or MySQL |
| 12 | + |
| 13 | +## Installation |
| 14 | + |
| 15 | +1. Clone this repo: |
| 16 | + |
| 17 | +```bash |
| 18 | +git clone https://github.com/bleriotnoguia/javascript.cm.git |
| 19 | +``` |
| 20 | + |
| 21 | +2. Install dependencies: |
| 22 | + |
| 23 | +```bash |
| 24 | +npm install |
| 25 | +``` |
| 26 | + |
| 27 | +or |
| 28 | + |
| 29 | +```bash |
| 30 | +yarn install |
| 31 | +``` |
| 32 | + |
| 33 | +3. Configure your database in `.env`: |
| 34 | + |
| 35 | +```env |
| 36 | +DB_CONNECTION=mysql |
| 37 | +MYSQL_HOST=localhost |
| 38 | +MYSQL_PORT=3306 |
| 39 | +MYSQL_USER=root |
| 40 | +MYSQL_PASSWORD= |
| 41 | +MYSQL_DB_NAME=javascript_cm |
| 42 | +``` |
| 43 | + |
| 44 | +4. Run migrations: |
| 45 | + |
| 46 | +```bash |
| 47 | +node ace migration:run |
| 48 | +``` |
| 49 | + |
| 50 | +5. Start the development server: |
| 51 | + |
| 52 | +```bash |
| 53 | +node ace serve --watch |
| 54 | +``` |
| 55 | + |
| 56 | +## Features |
| 57 | + |
| 58 | +- [ ] User Authentication |
| 59 | +- [ ] GitHub Authentication |
| 60 | +- [ ] Twitter Integration |
| 61 | +- [ ] Article Management |
| 62 | +- [ ] Community Features |
| 63 | +- [ ] Admin Dashboard |
| 64 | +- [ ] Telegram Notifications |
| 65 | + |
| 66 | +## Available Commands |
| 67 | + |
| 68 | +| Command | Description | |
| 69 | +| ----------------------------- | ------------------------ | |
| 70 | +| `node ace serve --watch` | Start development server | |
| 71 | +| `node ace build` | Build for production | |
| 72 | +| `node ace test` | Run tests | |
| 73 | +| `node ace migration:run` | Run database migrations | |
| 74 | +| `node ace migration:rollback` | Rollback migrations | |
| 75 | + |
| 76 | +## Contributing |
| 77 | + |
| 78 | +Please read the contribution guide before creating an issue or sending a pull request. |
| 79 | + |
| 80 | +## Security Vulnerabilities |
| 81 | + |
| 82 | +If you discover a security vulnerability in the application, please send an email to support@laravel.cm. |
| 83 | + |
| 84 | +## License |
| 85 | + |
| 86 | +The MIT License. Please see the License file for more information. |
0 commit comments