Skip to content

Latest commit

 

History

History
63 lines (51 loc) · 1.6 KB

README.md

File metadata and controls

63 lines (51 loc) · 1.6 KB

Moroccan Association for YES Alumni

This is the official repository for the website of YES Alumni Morocco

Currently hosted on Azure Web Apps via yesalumni-morocco.azurewebsites.net.

Technologies Used

Getting Started

To use this template to start your own project:

First clone the repository from Github and switch to the new directory:

git clone https://github.com/aabboudi/yesalumni-morocco.git
cd .\yesalumni-morocco\

Create or activate the virtual environment for your project:

virtualenv venv
.\venv\Scripts\activate

Install project dependencies:

pip install -r requirements.txt

Install UI dependencies:

cd .\ui\
npm install
cd ..

Make and apply all migrations:

py manage.py makemigrations
py manage.py migrate

Make sure STATIC_ROOT is defined in settings.py and collect all static files in order for styles to work:

py manage.py collectstatic

Create a superuser to access the admin interface:

py manage.py createsuperuser

You can now run the development server:

py manage.py runserver